PCI/ACPI: Remove unnecessary _OSC evaluation for control request
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Thu, 20 Nov 2008 06:22:37 +0000 (15:22 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:35 +0000 (11:12 -0800)
commite0fa3b43df0b57967857b2c83bad9a5193fbddf5
tree47ebb848837d834a755b3b7facdf3707dd8f5c81
parent753e3aca735dc446f66d501b625122661738b57d
PCI/ACPI: Remove unnecessary _OSC evaluation for control request

If a control had already been granted, we don't need to re-evaluate
_OSC for it because firmware may not reject control of any feature it
has previously granted control to.

Reviewed-by: Andrew Patterson <andrew.patterson@hp.com>
Tested-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c