diff options
author | 2008-12-27 16:30:52 +0100 | |
---|---|---|
committer | 2009-01-07 11:13:08 -0800 | |
commit | f06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc (patch) | |
tree | a723b05eedd9457ad50a0fb4220c73beac11f46a /include/linux/pci.h | |
parent | PCI: set device wakeup capable flag if platform support is present (diff) | |
download | linux-dev-f06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc.tar.xz linux-dev-f06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc.zip |
PCI PM: Fix pci_update_current_state
Currently, PCI devices without the PM capability that are power
manageable by the platform (eg. ACPI) are not handled correctly
by pci_set_power_state(), because their current_state field is not
updated to reflect the new power state of the device. Fix this by
making pci_update_current_state() accept additional argument
representing the power state of the device as set by the platform.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions