Files
linux/drivers
Rafael J. Wysocki fa58d305d9 PCI PM: Add suspend counterpart of pci_reenable_device
PCI devices without drivers are not disabled during suspend and
hibernation, but they are enabled during resume, with the help of
pci_reenable_device(), so there is an unbalanced execution of
pcibios_enable_device() in the resume code path.

To correct this introduce function pci_disable_enabled_device()
that will disable the argument device, if it is enabled when the
function is being run, without updating the device's pci_dev
structure and use it in the suspend code path to balance the
pci_reenable_device() executed during resume.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-01-07 11:14:40 -08:00
..
2009-01-06 15:59:30 -08:00
2008-11-01 09:50:12 -07:00
2009-01-06 15:59:12 -08:00
2009-01-04 15:31:49 +01:00
2008-12-31 19:56:05 +01:00
2008-12-21 14:21:14 +11:00
2009-01-06 15:59:25 -08:00
2009-01-06 10:44:34 -08:00
2009-01-02 16:12:51 +01:00