diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2017-02-13 13:38:40 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-02-14 20:52:25 +0300 |
commit | 1c61bedc0a725f0b019a70bba07cb2cf05c4ae2a (patch) | |
tree | bfeebfbaacd3f73a79a45ef32e12a342884c38b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1427228d5869f5804b03d47acfa4a88122572a78 (diff) | |
download | linux-1c61bedc0a725f0b019a70bba07cb2cf05c4ae2a.tar.xz |
ath10k: fetch firmware images in a loop
To make it easier to handle minimum and maximum firmware API numbers convert
the firmware fetch functionality to a loop. If no firmware image is found print
an error with minimum and maximum API numbers and the name of firmware
directory. This is needed when we switch to using request_firmware_direct()
which doesn't print any errors anymore.
Also add a new function for creating the fw file name dynamically which makes it
easier to add new bus support, for example SDIO and USB, later.
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[kvalo@qca.qualcomm.com: remove sdio/usb part, new error message, clarify commit log]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions