diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2017-02-13 12:38:40 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-02-14 19:52:25 +0200 |
commit | 1c61bedc0a725f0b019a70bba07cb2cf05c4ae2a (patch) | |
tree | bfeebfbaacd3f73a79a45ef32e12a342884c38b7 /include/sound/seq_midi_event.h | |
parent | 1427228d5869f5804b03d47acfa4a88122572a78 (diff) |
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 'include/sound/seq_midi_event.h')
0 files changed, 0 insertions, 0 deletions