From: Rafael J. Wysocki Date: Sat, 27 Dec 2008 15:30:52 +0000 (+0100) Subject: PCI PM: Fix pci_update_current_state X-Git-Tag: v2.6.29-rc1~181^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f06fc0b6f8a6846e0ad48aee7b0f282b4fb5dcdc;p=pandora-kernel.git PCI PM: Fix pci_update_current_state Currently, PCI devices without the PM capability that are power manageable by the platform (eg. ACPI) are not handled correctly by pci_set_power_state(), because their current_state field is not updated to reflect the new power state of the device. Fix this by making pci_update_current_state() accept additional argument representing the power state of the device as set by the platform. Signed-off-by: Rafael J. Wysocki Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed