Skip to content
Snippets Groups Projects
Commit 92cadedd authored by Ulf Hansson's avatar Ulf Hansson Committed by Kalle Valo
Browse files

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: default avatarUlf Hansson <ulf.hansson@linaro.org>
Tested-by: default avatarChristophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: default avatarYann Gautier <yann.gautier@foss.st.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220323083950.414783-1-ulf.hansson@linaro.org
parent 3e12968f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment