diff options
| author | Andreas Färber <[email protected]> | 2020-09-20 15:26:21 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-09-24 18:49:56 +0300 |
| commit | ac4bac99161e8f7a7a9faef70d8ca8f69d5493a9 (patch) | |
| tree | 97a062d66cbc245306514ca57f9b6d8767f22f6d /tools/perf/scripts/python/bin | |
| parent | ecda9cda3338b594a1b82d62018c247132a39e57 (diff) | |
rtw88: Fix potential probe error handling race with wow firmware loading
If rtw_core_init() fails to load the wow firmware, rtw_core_deinit()
will not get called to clean up the regular firmware.
Ensure that an error loading the wow firmware does not produce an oops
for the regular firmware by waiting on its completion to be signalled
before returning. Also release the loaded firmware.
Fixes: c8e5695eae99 ("rtw88: load wowlan firmware if wowlan is supported")
Cc: Chin-Yen Lee <[email protected]>
Cc: Yan-Hsuan Chuang <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions