]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: pci: fix hot reset stability issues
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 10 Dec 2020 14:05:21 +0000 (16:05 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Dec 2020 04:40:14 +0000 (06:40 +0200)
commitff1e85244396f173c610ecf58b5ffe647acdf5d0
tree86afb2d78479577f3f0675a74ed86a60a734f837
parentbb84fbf5d9d1ad23b699077bb9cad902af50f57e
ath11k: pci: fix hot reset stability issues

For QCA6390, host needs to reset some registers before MHI power up to fix PCI
link unstable issue if hot reset happened. Also clear all pending interrupts
during power up.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1607609124-17250-4-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pci.h