Skip to content

Commit cc27b73

Browse files
Sinan Kayabjorn-helgaas
authored andcommitted
PCI/portdrv: Turn off PCIe services during shutdown
Some of the PCIe services such as AER are being left enabled during shutdown. This might cause spurious AER errors while SOC is being powered down. Clean up the PCIe services gracefully during shutdown to clear these false positives. Signed-off-by: Sinan Kaya <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 9e66317 commit cc27b73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/pcie/portdrv_pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ static struct pci_driver pcie_portdriver = {
246246

247247
.probe = pcie_portdrv_probe,
248248
.remove = pcie_portdrv_remove,
249+
.shutdown = pcie_portdrv_remove,
249250

250251
.err_handler = &pcie_portdrv_err_handler,
251252

0 commit comments

Comments
 (0)