diff options
author | Rakesh Pillai <pillair@codeaurora.org> | 2020-12-12 00:30:30 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-17 08:50:02 +0200 |
commit | 5f1aa93ffa1f36577d0c18e91269f0ffd491e822 (patch) | |
tree | dc78834ee76c9bb392c3e64632fd3e4210b7557e /drivers/net/wireless/ath/ath10k/swap.h | |
parent | 31561e8557cd1eeba5806ac9ce820f8323b2201b (diff) |
ath10k: Remove voltage regulator votes during wifi disable
When the wlan is disabled, i.e when all the interfaces are
deleted, voltage regulator votes are not removed. This leads
to more power consumption even when wlan is disabled.
Move the adding/removing of voltage regulator votes as part
of hif power on/off in SNOC targets, so that these voltage
regulator votes are there only when wlan is enabled.
Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1607713230-18382-1-git-send-email-pillair@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/swap.h')
0 files changed, 0 insertions, 0 deletions