]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI PM: Power-manage devices without drivers during suspend-resume
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 7 Jan 2009 12:05:05 +0000 (13:05 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:15:18 +0000 (11:15 -0800)
commit571ff7584bb9e05fca0eb79752ae55a46faf3a98
treea9439b1749154f2a7d4ed18c28a4d221235f2f3b
parentfa58d305d9925b01830e535896a7227a868a9e15
PCI PM: Power-manage devices without drivers during suspend-resume

PCI devices without drivers can be put into low power states during
suspend with the help of pci_prepare_to_sleep() and prevented from
generating wake-up events during resume with the help of
pci_enable_wake().  However, it's better not to put bridges into
low power states during suspend, because that might result in entire
bus segments being powered off.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c