]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath10k: fix S5 power consumption issue for QCA9377
authorYu Wang <yyuwang@codeaurora.org>
Tue, 15 Jan 2019 06:31:07 +0000 (14:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 4 Feb 2019 15:50:28 +0000 (17:50 +0200)
commit1a86be476cfa3e53ff1e0f7ddcbe427770c6e767
tree5a2daabb4150034371bd0dfe99a1645696061dad
parent5b9030cee1bedba934adb5c7ae708e510dddd0f0
ath10k: fix S5 power consumption issue for QCA9377

After system entering S5 (shut down but system still
providing power to QCA9377) on Ubuntu platform, power
consumption of QCA9377 is 69mA, which is too high.
The root cause is pci_soft_reset is not set for QCA9377
during pci probe.
To fix this issue, set 'pci_soft_reset' to 'th10k_pci_warm_reset',
and then the power consumption drops to a normal value(10mA).
Verified on Dell Ubuntu platform with firmware:
WLAN.TF.1.0-00002-QCATFSWPZ-5

Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/pci.c