diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-07-07 03:35:26 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-07-07 16:26:33 -0700 |
commit | 404cc2d8ce41ed4031958fba8e633767e8a2e028 (patch) | |
tree | d679e1ea92d6ae8e72309c02197fd5f1480651fb /kernel/power/swap.c | |
parent | eb9d0fe40e313c0a74115ef456a2e43a6c8da72f (diff) |
PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleep
Introduce functions pci_prepare_to_sleep() and pci_back_from_sleep(),
to be used by the PCI drivers that want to place their devices into
the lowest power state appropiate for them (PCI_D3hot, if the device
is not supposed to wake up the system, or the deepest state from
which the wake-up is possible, otherwise) while the system is being
prepared to go into a sleeping state and to put them back into D0
during the subsequent transition to the working state.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'kernel/power/swap.c')
0 files changed, 0 insertions, 0 deletions