diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-16 22:40:08 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-30 21:46:55 +0200 |
commit | f00a20ef46b1795c495869163a9a7333f899713a (patch) | |
tree | c5992f03dc67c1492ac06d0191024e4676f6cc5f /virt/kvm | |
parent | 57ef80266e14ecc363380268fedc64e519047b4a (diff) |
PCI PM: Use pci_set_power_state during early resume
Once we have allowed timer interrupts to be enabled during the early
phase of resuming devices, we are now able to use the generic
pci_set_power_state() to put PCI devices into D0 at that time. Then,
the platform-specific PM code will have a chance to handle devices
that don't implement the native PCI PM or that require some
additional, platform-specific operations to be carried out to power
them up. Also, by doing this we can simplify the code quite a bit.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions