commit | c9b9972b3c88272be02d971346285d1c67fbb95f | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Wed Jan 07 13:02:36 2009 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Jan 07 11:14:07 2009 -0800 |
tree | 9e7e942bb3f36de15a4c953d03d87c0a01e185c7 | |
parent | 987a4c783a8bbf3baf554e6b8ff588b26e06e020 [diff] |
PCI PM: Fix poweroff and restore callbacks pci_fixup_device() is called too early in pci_pm_poweroff() and too late in pci_pm_restore(). Moreover, pci_pm_restore_noirq() calls pci_fixup_device() twice and in a wrong way. Fix that. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>