diff options
author | Ping-Ke Shih <[email protected]> | 2023-03-20 21:06:05 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-04-14 15:13:59 +0300 |
commit | b80ad23a8f2e0b63384cadc0aa2c1135b1dc03eb (patch) | |
tree | 811ecd64b891335ce6c0477414824c292c5e8723 /tools/perf/scripts/python/task-analyzer.py | |
parent | 639ec6d63588b7e7c2dfae1df447daf243fb8342 (diff) |
wifi: rtw89: use schedule_work to request firmware
Since we are going to load more than one firmware and some are not
presented or optional, using asynchronous API request_firmware_nowait()
will become complicated. Also, we want to use firmware_request_nowarn()
to avoid warning messages when loading optional files. So, use
schedule_work to be simpler.
To abstract loading a firmware or file, define a struct rtw89_fw_req_info
containing a struct firmware and a completion to ensure this firmware is
loaded completely.
Signed-off-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions