projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcb2c9
)
ath10k: Disable MSI in case IRQ configuration is unknown
author
Alexander Gordeev
<agordeev@redhat.com>
Thu, 13 Feb 2014 15:50:01 +0000
(17:50 +0200)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 16:04:00 +0000
(18:04 +0200)
In case IRQ configuration is unknown possibly enabled MSIs
are left enabled in ath10k_pci_deinit_irq(). This update
fixes the described misbehaviour.
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index abcb7edb6485906aca0f140651f0ae67aa14e5a7..4c303144c05f71cbed9fbb6a9cfef7862e31008c 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/pci.c
+++ b/
drivers/net/wireless/ath/ath10k/pci.c
@@
-2598,6
+2598,8
@@
static int ath10k_pci_deinit_irq(struct ath10k *ar)
case MSI_NUM_REQUEST:
pci_disable_msi(ar_pci->pdev);
return 0;
+ default:
+ pci_disable_msi(ar_pci->pdev);
}
ath10k_warn("unknown irq configuration upon deinit\n");