diff options
author | Matthias Proske <email@matthias-proske.de> | 2025-02-12 21:59:35 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-02-26 17:11:50 +0300 |
commit | 8c3170628a9ce24a59647bd24f897e666af919b8 (patch) | |
tree | 84436905c60e901e47c3e45b89c2c7c4b870909c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 861d0445e72e9e33797f2ceef882c74decb16a87 (diff) | |
download | linux-8c3170628a9ce24a59647bd24f897e666af919b8.tar.xz |
wifi: brcmfmac: keep power during suspend if board requires it
After commit 92cadedd9d5f ("brcmfmac: Avoid keeping power to SDIO card
unless WOWL is used"), the wifi adapter by default is turned off on
suspend and then re-probed on resume.
This conflicts with some embedded boards that require to remain powered.
They will fail on resume with:
brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
ieee80211 phy1: brcmf_bus_started: failed: -110
ieee80211 phy1: brcmf_attach: dongle is not responding: err=-110
brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed
This commit checks for the Device Tree property 'cap-power-off-cards'.
If this property is not set, it means that we do not have the capability
to power off and should therefore remain powered.
Signed-off-by: Matthias Proske <email@matthias-proske.de>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20250212185941.146958-2-email@matthias-proske.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions