]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: pci: disable ASPM L0sLs before downloading firmware
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 17 Dec 2020 15:22:10 +0000 (17:22 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 18 Dec 2020 09:03:50 +0000 (11:03 +0200)
commit1792af3926201fe7bbc9517f664e4adf56db6e8a
treed3fdddefa519edc1bab1980f02ef12faa36d8001
parent5f3e3c2aab028a2224069b1991e778b08a29fd44
ath11k: pci: disable ASPM L0sLs before downloading firmware

Sometimes QCA6390 doesn't switch to amss state as device enters
L1ss state, so disable L0sL1s during firmware downloading.
Driver recovers the ASPM to default value in start callback
or powerdown callback.

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