aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-12-27 16:30:52 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 11:13:08 -0800
commitf06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc (patch)
treea723b05eedd9457ad50a0fb4220c73beac11f46a /block
parenteb9c39d031bbcfd4005bd7e0337c3fd3909c1bf7 (diff)
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 'block')
0 files changed, 0 insertions, 0 deletions