PCI/portdrv: Turn off PCIe services during shutdown
authorSinan Kaya <okaya@codeaurora.org>
Wed, 25 Oct 2017 19:01:02 +0000 (15:01 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Nov 2017 00:08:45 +0000 (18:08 -0600)
commitcc27b735ad3a75574a6ab1a66ed6b09385e77e5e
tree9ea15280373f0ed152cac00045281c14eba22aeb
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
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 <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv_pci.c