]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ACPI/PCI: Fix return value of acpi_cuery_osc()
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 17 Oct 2008 04:51:53 +0000 (13:51 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:34 +0000 (16:42 -0700)
commitab20440c376ff0454cb93904a888212d874fbb6b
tree9fa9576287106ce99b582a89755f2ae627af2765
parentadf411b819adc9fa96e9b3e638c7480d5e71d270
ACPI/PCI: Fix return value of acpi_cuery_osc()

If acpi_query_osc() returns other than AE_OK, __pci_osc_support_set()
stops scanning ACPI objects to evaluate _OSC. This prevents subsequent
_OSCs from being evaluated if some of root bridge doesn't have _OSC, for
example. So acpi_query_osc() should return always AE_OK to evaluate all
_OSC.

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