diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-30 21:46:27 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-30 21:46:56 +0200 |
commit | 8efb8c76fcdccf5050c0ea059dac392789baaff2 (patch) | |
tree | e1633be5df4fa15755bfcfaf5007d8b972bcdff7 /drivers/base | |
parent | radeonfb: Use __pci_complete_power_transition() (diff) | |
download | linux-8efb8c76fcdccf5050c0ea059dac392789baaff2.tar.xz linux-8efb8c76fcdccf5050c0ea059dac392789baaff2.zip |
PCI PM: Make pci_prepare_to_sleep() disable wake-up if needed
If the device is not supposed to wake up the system, ie. when
device_may_wakeup(&dev->dev) returns 'false', pci_prepare_to_sleep()
should pass 'false' to pci_enable_wake() so that it calls the
platform to disable the wake-up capability of the device.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions