]> git.baikalelectronics.ru Git - kernel.git/commit
Suspend/Resume bug in PCI layer wrt quirks
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 15 May 2008 19:51:31 +0000 (21:51 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:46 +0000 (10:59 -0700)
commitf488718f123c30f2d4f65549399f5953bd0a56d2
tree4d05a1b9ebadd0ab22e0e42ee3b053dddf11baf1
parentc683e1e0e4d8d107eeaa3ed5f22946ae2372ceea
Suspend/Resume bug in PCI layer wrt quirks

Some quirks should be called with interrupt disabled, we can't directly
call them in .resume_early. Also the patch introduces
pci_fixup_resume_early and pci_fixup_suspend, which matches current
device core callbacks (.suspend/.resume_early).

TBD: Somebody knows why we need quirk resume should double check if a
quirk should be called in resume or resume_early. I changed some per my
understanding, but can't make sure I fixed all.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c
drivers/pci/quirks.c
include/asm-generic/vmlinux.lds.h
include/linux/pci.h