mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
PCI ACPI: AER driver should only register PCIe devices with _OSC
AER is only used with PCIe devices so we should only check PCIe devices for _OSC support. Signed-off-by: Andrew Patterson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c277835723
commit
d8634ddd37
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ int aer_osc_setup(struct pcie_device *pciedev)
|
|||
}
|
||||
|
||||
if (handle) {
|
||||
pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
|
||||
pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT);
|
||||
status = pci_osc_control_set(handle,
|
||||
OSC_PCI_EXPRESS_AER_CONTROL |
|
||||
OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue