]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: shpchp: Rely on previous _OSC results
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 24 May 2018 19:45:55 +0000 (14:45 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 2 Jun 2018 05:18:28 +0000 (00:18 -0500)
commitaa6be07c27447a0c07a5d2e7cbcfc1417ab280e2
tree5193c0cad84c5ba301204a232a5c2d468272cb58
parent1df81a6d6e01ff3f351c614c5bc35b49847e1dc5
PCI: shpchp: Rely on previous _OSC results

If _OSC exists, we evaluated it when adding the ACPI host bridge, and we
requested SHPC control if the SHPC driver is present.  Use the result of
that _OSC evaluation instead of evaluating it again.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpi_pcihp.c