From: Rafael J. Wysocki Date: Wed, 4 Feb 2009 00:56:14 +0000 (+0100) Subject: PCI PM: Fix handling of devices without drivers X-Git-Tag: v2.6.29-rc4~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb7c9d29fac34626aef2af9f19787a888e4ca9c;p=pandora-kernel.git PCI PM: Fix handling of devices without drivers Suspend to RAM is reported to break on some machines as a result of attempting to put one of driverless PCI devices into a low power state. Avoid that by not attepmting to power manage driverless devices during suspend. Fix up pci_pm_poweroff() after a previous incomplete fix for the same thing during hibernation. This patch is reported to fix the regression from 2.6.28 tracked as http://bugzilla.kernel.org/show_bug.cgi?id=12605 Signed-off-by: Rafael J. Wysocki Reported-and-tested-by: Eric Sesterhenn Acked-by: Linus Torvalds Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed