Commit e5c860e1 authored by Carl Huang's avatar Carl Huang Committed by Kalle Valo

ath11k: disable CE interrupt before hif start

Disable CE interrupt otherwise interrupt may come before host
initialized related context. This also fixes unbalanced interrupt
enablement.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2
Signed-off-by: default avatarCarl Huang <cjhuang@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597576599-8857-9-git-send-email-kvalo@codeaurora.org
parent 1a05ed37
...@@ -500,6 +500,7 @@ static int ath11k_pci_config_irq(struct ath11k_base *ab) ...@@ -500,6 +500,7 @@ static int ath11k_pci_config_irq(struct ath11k_base *ab)
} }
ab->irq_num[irq_idx] = irq; ab->irq_num[irq_idx] = irq;
ath11k_pci_ce_irq_disable(ab, i);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment