commit | 49c968111aee4a463d3247937b63efa63a65f378 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Wed Feb 04 02:02:15 2009 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Feb 04 17:22:28 2009 -0800 |
tree | 45102dd69858263623dae0db56f67a09a7b15c5c | |
parent | cbbc2f6b0d438f80831c20124137ea92f0e5149b [diff] |
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 <rjw@sisk.pl> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>