aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAdrian Ratiu <[email protected]>2019-09-25 16:44:58 +0300
committerKalle Valo <[email protected]>2019-10-01 12:14:21 +0300
commite0ae4bac22effbd644add326f658a3aeeb8d45ee (patch)
tree0862e1f08aa6f4e69c9a35536fc89c3c2e72843d /tools/perf/scripts/python/export-to-sqlite.py
parent1524cbf3621576c639405e7aabeac415f9617c8d (diff)
brcmfmac: fix suspend/resume when power is cut off
brcmfmac assumed the wifi device always remains powered on and thus hardcoded the MMC_PM_KEEP_POWER flag expecting the wifi device to remain on even during suspend/resume cycles. This is not always the case, some appliances cut power to everything connected via SDIO for efficiency reasons and this leads to wifi not being usable after coming out of suspend because the device was not correctly reinitialized. So we check for the keep_power capability and if it's not present then we remove the device and probe it again during resume to mirror what's happening in hardware and ensure correct reinitialization in the case when MMC_PM_KEEP_POWER is not supported. Suggested-by: Gustavo Padovan <[email protected]> Signed-off-by: Adrian Ratiu <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions