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-07 11:12:31 -08:00
2009-01-06 10:44:43 -08:00
2008-12-26 01:26:11 -08:00
2009-01-06 17:02:07 -08:00
2008-12-30 17:37:25 -08:00
2008-11-30 12:17:28 +01:00
2008-12-29 08:28:43 +01:00
2009-01-06 17:02:07 -08:00
2009-01-02 11:44:09 -08:00
2008-11-14 10:39:19 +11:00
2008-12-05 15:20:11 -05:00
2008-11-09 16:28:42 -08:00
2008-12-25 11:02:33 +11:00
2008-11-10 15:01:03 -08:00
2008-12-08 13:46:00 -07:00
2009-01-06 15:59:30 -08:00
2008-12-10 12:45:34 +01:00
2009-01-06 17:02:07 -08:00
2009-01-06 17:02:07 -08:00
2009-01-07 11:54:57 +10:00
2009-01-04 01:04:09 +01:00
2009-01-06 17:02:07 -08:00
2009-01-05 19:04:09 -08:00
2009-01-06 17:21:02 +01:00
2009-01-06 10:44:39 -08:00
2008-12-14 01:13:13 +01:00
2009-01-06 10:44:39 -08:00
2009-01-06 17:14:01 -08:00
2009-01-06 10:44:39 -08:00
2008-11-01 09:50:12 -07:00
2009-01-06 10:44:34 -08:00
2009-01-06 17:02:07 -08:00
2009-01-06 03:05:19 +00:00
2009-01-06 15:59:12 -08:00
2009-01-06 10:44:38 -08:00
2009-01-06 17:02:07 -08:00
2009-01-04 15:31:49 +01:00
2009-01-06 17:02:07 -08:00
2008-12-31 19:56:05 +01:00
2009-01-06 10:44:38 -08:00
2009-01-07 11:13:24 -08:00
2008-12-21 14:21:14 +11:00
2009-01-05 11:54:28 -05:00
2009-01-07 11:12:55 -08:00
2009-01-06 15:59:31 -08:00
2009-01-07 11:14:40 -08:00
2008-12-17 20:04:45 +00:00
2009-01-06 10:44:38 -08:00
2009-01-06 10:44:38 -08:00
2008-11-19 16:03:54 +11:00
2009-01-06 15:59:28 -08:00
2009-01-04 12:17:42 +01:00
2009-01-06 15:59:25 -08:00
2009-01-06 10:44:34 -08:00
2008-12-01 07:55:14 -08:00
2009-01-02 16:12:51 +01:00
2009-01-06 10:44:37 -08:00
2008-12-16 16:40:32 +09:00
2009-01-06 17:02:07 -08:00
2008-11-21 11:06:03 -05:00
2009-01-06 13:52:46 -08:00
2008-11-11 09:30:23 -08:00
2009-01-06 10:44:37 -08:00
2009-01-06 10:44:44 -08:00
2009-01-06 10:44:42 -08:00
2009-01-02 13:17:13 +00:00
2009-01-06 17:02:07 -08:00
2009-01-06 10:44:34 -08:00
2009-01-06 10:44:34 -08:00
2008-12-31 16:12:54 +00:00
2009-01-06 10:44:34 -08:00