From: Taku Izumi Date: Fri, 17 Oct 2008 04:51:00 +0000 (+0900) Subject: ACPI/PCI: Always query _OSC control field in pci_osc_control_set() X-Git-Tag: v2.6.28-rc1~29^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf411b819adc9fa96e9b3e638c7480d5e71d270;p=pandora-kernel.git ACPI/PCI: Always query _OSC control field in pci_osc_control_set() In current pci_osc_control_set() implementation, once the _OSC control field is queried, it is never queried again. But the query result can change depending on the _OSC support field. For example, if PCI Express Native Hot Plug control depends on ASPM support on a certain platform, a PCI Express Native Hot Plug Control query would fail before the ASPM driver was loaded, but it would succeed if the ASPM driver was loaded first. Therefore, pci_osc_control_set() should query the _OSC control field every time. Signed-off-by: Kenji Kaneshige Signed-off-by: Taku Izumi Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed