]> 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)
commit74586c8cf00a0c8797ab73b085cd8a80bd301f67
treee5aee3e6e09b52a51831e3baab33155966f1b946
parent4d8ae3b28ed465c1572b49d24d2169c96b5b6cf7
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