OSDN Git Service

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)
commit0699940755e93fc307328523d58c15b8f42e5fe2
treee5aee3e6e09b52a51831e3baab33155966f1b946
parentbabb0ced6acdbaa0b5e0721ec7b347fdbdfa0f6f
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