diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 13:24:18 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 13:24:18 -0500 |
commit | d872694bac212f76ca13fd20a85e5c1bdb53a945 (patch) | |
tree | 2fe88f1eab062c8b5f5fd00656657566078cee26 /drivers/pci/pci.c | |
parent | 79ab592c700e969d32770dcd1ae39ac64c328812 (diff) | |
parent | ab4b8a47abeefad94cdb6b4c0df6a13f4f6ae4e0 (diff) | |
download | linux-d872694bac212f76ca13fd20a85e5c1bdb53a945.tar.gz linux-d872694bac212f76ca13fd20a85e5c1bdb53a945.tar.bz2 linux-d872694bac212f76ca13fd20a85e5c1bdb53a945.zip |
Merge branch 'pci/pm' into next
* pci/pm:
PCI/PM: Expand description of pci_set_power_state()
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 90d070ec1026..2870cd36e3e0 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -893,7 +893,9 @@ EXPORT_SYMBOL_GPL(__pci_complete_power_transition); * -EINVAL if the requested state is invalid. * -EIO if device does not support PCI PM or its PM capabilities register has a * wrong version, or device doesn't support the requested state. + * 0 if the transition is to D1 or D2 but D1 and D2 are not supported. * 0 if device already is in the requested state. + * 0 if the transition is to D3 but D3 is not supported. * 0 if device's power state has been successfully changed. */ int pci_set_power_state(struct pci_dev *dev, pci_power_t state) |