Commit eb9188bdb9d65aeead2382ec3dd656a17ec8936d

Authored by Andrew Patterson
Committed by Jesse Barnes
1 parent 3e1b16002a

ACPI/PCI: PCIe AER _OSC support capabilities called when root bridge added

The _OSC capability OSC_EXT_PCI_CONFIG_SUPPORT is set when the root
bridge is added with pci_acpi_osc_support(), so we no longer need to do
it in the PCIe AER driver.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/pci/pcie/aer/aerdrv_acpi.c
... ... @@ -38,7 +38,6 @@
38 38  
39 39 handle = acpi_find_root_bridge_handle(pdev);
40 40 if (handle) {
41   - pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
42 41 status = pci_osc_control_set(handle,
43 42 OSC_PCI_EXPRESS_AER_CONTROL |
44 43 OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);