ath11k: disable CE interrupt before hif start
authorCarl Huang <cjhuang@codeaurora.org>
Mon, 17 Aug 2020 10:31:50 +0000 (13:31 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 18 Aug 2020 09:44:36 +0000 (12:44 +0300)
commite5c860e121c2e415354d7ae0626f04cbef966851
treec6e54ed9158e29611fc6ab6bba43a034ec7e0700
parent1a05ed37c513f63c8a56698df3f5fb54c682af12
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: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597576599-8857-9-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c