]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/ACPI: Skip _OSC control tests if _OSC support call failed
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2013 21:07:43 +0000 (15:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 23 Sep 2013 23:40:46 +0000 (17:40 -0600)
commit65afe91622c456560e20d57a779b807c20822e81
tree4c5706dfa23005a4876cb67370406f3be6587c0c
parent1b2a7be60eaaf17bc88368d748471dd70e40befd
PCI/ACPI: Skip _OSC control tests if _OSC support call failed

If the _OSC support notification fails, we will never request control
(because "support == OSC_PCI_SEGMENT_GROUPS_SUPPORT", which doesn't include
all the features in ACPI_PCIE_REQ_SUPPORT), so we can return early to
simplify the code.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c