]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
PCI PM: Split PCI Express port suspend-resume
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 27 Dec 2008 15:28:58 +0000 (16:28 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:08 +0000 (11:13 -0800)
commita79d682f789730dfabaebbb507c87a90c0671a62
treed58b75d734e88086770ceaa726ea614507b53b59
parentf06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc
PCI PM: Split PCI Express port suspend-resume

Suspend-resume of PCI Express ports has recently been moved into
_suspend_late() and _resume_early() callbacks, but some functions
executed from there should not be called with interrupts disabled,
eg. pci_enable_device().  For this reason, split the suspend-resume
of PCI Express ports into parts to be executed with interrupts
disabled and with interrupts enabled.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_pci.c