From: Huang Ying Date: Wed, 24 Oct 2012 06:54:14 +0000 (+0800) Subject: PCI/PM: Resume device before shutdown X-Git-Tag: v3.7-rc5~7^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ff2de9ba1a2e22e548979dbcd46e999b22c93d8;p=pandora-kernel.git PCI/PM: Resume device before shutdown Some actions during shutdown need device to be in D0 state, such as MSI shutdown etc, so resume device before shutdown. Without this patch, a device may not be enumerated after a kexec because the corresponding bridge is not in D0, so that configuration space of the device is not accessible. Signed-off-by: Huang Ying Signed-off-by: Bjorn Helgaas Acked-by: Rafael J. Wysocki CC: stable@vger.kernel.org # v3.6+ --- Reading git-diff-tree failed