diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 20:24:18 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 20:24:18 +0200 |
commit | d872694bac212f76ca13fd20a85e5c1bdb53a945 (patch) | |
tree | 2fe88f1eab062c8b5f5fd00656657566078cee26 /drivers/pci/pci.c | |
parent | Merge branch 'pci/msi' into next (diff) | |
parent | PCI/PM: Expand description of pci_set_power_state() (diff) | |
download | linux-d872694bac212f76ca13fd20a85e5c1bdb53a945.tar.xz 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) |