]> git.baikalelectronics.ru Git - kernel.git/commit
net: amd-xgbe: disable interrupts during pci removal
authorRaju Rangoju <Raju.Rangoju@amd.com>
Wed, 9 Feb 2022 04:32:01 +0000 (10:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2022 12:52:59 +0000 (12:52 +0000)
commitc19c3a3e75eeb440249b11536ddb6314452f63eb
treee9772858798c589c3fc03d7199b1bbb8c6a6e44b
parentd513ca4a4f93bf5a803f8d426e9042d1cdd46860
net: amd-xgbe: disable interrupts during pci removal

Hardware interrupts are enabled during the pci probe, however,
they are not disabled during pci removal.

Disable all hardware interrupts during pci removal to avoid any
issues.

Fixes: 9079c06fc421 ("amd-xgbe: Update PCI support to use new IRQ functions")
Suggested-by: Selwin Sebastian <Selwin.Sebastian@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-pci.c