From: Alexander Gordeev Date: Thu, 13 Feb 2014 15:50:01 +0000 (+0200) Subject: ath10k: Disable MSI in case IRQ configuration is unknown X-Git-Tag: accepted/tizen/common/20141203.182822~316^2~18^2^2~267^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb8b621ac34605b8e20b63021bed7d10f3dfa544;p=platform%2Fkernel%2Flinux-arm64.git ath10k: Disable MSI in case IRQ configuration is unknown 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index abcb7ed..4c30314 100644 --- 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");