]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI PM: Fix poweroff and restore callbacks
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 7 Jan 2009 12:02:36 +0000 (13:02 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:14:07 +0000 (11:14 -0800)
commitc9b9972b3c88272be02d971346285d1c67fbb95f
tree9e7e942bb3f36de15a4c953d03d87c0a01e185c7
parent987a4c783a8bbf3baf554e6b8ff588b26e06e020
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>
drivers/pci/pci-driver.c