]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: pci: fix L1ss clock unstable problem
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 10 Dec 2020 14:05:22 +0000 (16:05 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Dec 2020 04:40:17 +0000 (06:40 +0200)
commitdd334965e42140b8644dc0ea621507eb30e46e2a
treee5aee3e6e09b52a51831e3baab33155966f1b946
parentff1e85244396f173c610ecf58b5ffe647acdf5d0
ath11k: pci: fix L1ss clock unstable problem

For QCA6390, one PCI related clock drifts sometimes, and
it makes PCI link difficult to quit L1ss. Fix it by writing
some registers which are known to fix the problem.

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-5-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pci.h