diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2022-03-23 09:39:50 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2022-04-06 15:11:01 +0300 |
commit | 92cadedd9d5f4355d8ca2765f2259708f0e5592c (patch) | |
tree | 5740d210c11fafcb8c6e484701d2a3d4c8b347c3 /drivers/net/wireless/st/cw1200/wsm.c | |
parent | 3e12968f6d12a34b540c39cbd696a760cc4616f0 (diff) |
brcmfmac: Avoid keeping power to SDIO card unless WOWL is used
Keeping the power to the SDIO card during system wide suspend, consumes
energy. Especially on battery driven embedded systems, this can be a
problem. Therefore, let's change the behaviour into allowing the SDIO card
to be powered off, unless WOWL is supported and enabled.
Note that, the downside from this change, is that during system resume the
SDIO card needs to be re-initialized and the FW must be re-programmed. Even
if this may take some time to complete, it should we worth it, rather than
draining the battery.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Yann Gautier <yann.gautier@foss.st.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220323083950.414783-1-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/net/wireless/st/cw1200/wsm.c')
0 files changed, 0 insertions, 0 deletions