]> git.baikalelectronics.ru Git - kernel.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)
commit2010343d499249695caf1255351c07f687b8398c
tree5193c0cad84c5ba301204a232a5c2d468272cb58
parentc61550d68f42cd5c2a8ff677a93f935c36786cb3
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