diff options
author | Arend Van Spriel <[email protected]> | 2017-06-12 12:47:34 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2017-06-15 19:06:53 +0300 |
commit | 7a51461fc2da82a6c565a3ee65c41c197f28225d (patch) | |
tree | c40c8a7d19b4196c6583cee08af04c1adc5adc8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 03fb0e8393fae8ebb6710a99387853ed0becbc8e (diff) |
brcmfmac: unbind all devices upon failure in firmware callback
When request firmware fails, brcmf_ops_sdio_remove is being called and
brcmf_bus freed. In such circumstancies if you do a suspend/resume cycle
the kernel hangs on resume due a NULL pointer dereference in resume
function. So in brcmf_sdio_firmware_callback() we need to unbind the
driver from both sdio_func devices when firmware load failure is indicated.
Cc: [email protected] # 4.9.x-
Tested-by: Enric Balletbo i Serra <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Reviewed-by: Franky Lin <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions