From: Rafael J. Wysocki Date: Wed, 4 Feb 2009 01:02:15 +0000 (+0100) Subject: PCI PM: Read power state from device after trying to change it on resume X-Git-Tag: v2.6.29-rc4~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c968111aee4a463d3247937b63efa63a65f378;p=pandora-kernel.git PCI PM: Read power state from device after trying to change it on resume pci_restore_standard_config() unconditionally changes current_state to PCI_D0 after attempting to change the device's power state, but it should rather read the actual current power state from the device. Signed-off-by: Rafael J. Wysocki Acked-by: Linus Torvalds Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed