mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
qla2xxx: Disable PCI device in shutdown handler.
Disable the PCI device during shutdown to prevent any races with other PCI code such as the AER handling code. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
ef86cb2059
commit
61d41f610d
1 changed files with 3 additions and 0 deletions
|
@ -3032,6 +3032,9 @@ qla2x00_shutdown(struct pci_dev *pdev)
|
|||
qla2x00_free_irqs(vha);
|
||||
|
||||
qla2x00_free_fw_dump(ha);
|
||||
|
||||
pci_disable_pcie_error_reporting(pdev);
|
||||
pci_disable_device(pdev);
|
||||
}
|
||||
|
||||
/* Deletes all the virtual ports for a given ha */
|
||||
|
|
Loading…
Reference in a new issue