提交 d872694b 编写于 作者: B Bjorn Helgaas

Merge branch 'pci/pm' into next

* pci/pm:
  PCI/PM: Expand description of pci_set_power_state()
...@@ -893,7 +893,9 @@ EXPORT_SYMBOL_GPL(__pci_complete_power_transition); ...@@ -893,7 +893,9 @@ EXPORT_SYMBOL_GPL(__pci_complete_power_transition);
* -EINVAL if the requested state is invalid. * -EINVAL if the requested state is invalid.
* -EIO if device does not support PCI PM or its PM capabilities register has a * -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. * 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 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. * 0 if device's power state has been successfully changed.
*/ */
int pci_set_power_state(struct pci_dev *dev, pci_power_t state) int pci_set_power_state(struct pci_dev *dev, pci_power_t state)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册