diff options
author | Andres Rodriguez <andresx7@gmail.com> | 2018-04-23 15:39:08 -0400 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@kernel.org> | 2018-05-07 17:43:02 -0700 |
commit | 2333110ad44864f4a0f79a259dd8484391f1dc31 (patch) | |
tree | 14ad4fe7f977a147d88e175f383c76269d5eaf8c | |
parent | 0d7c2f1d050b20fdc6b697c3be04dc5e20442613 (diff) | |
download | linux-20180507-firmware_loader_for-v4.18.tar.gz |
ath10k: re-enable the firmware fallback mechanism for testmode20180507-firmware_loader_for-v4.18
The ath10k testmode uses request_firmware_direct() in order to avoid
producing firmware load warnings. Disabling the fallback mechanism was a
side effect of disabling warnings.
We now have a new API that allows us to avoid warnings while keeping the
fallback mechanism enabled. So use that instead.
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/testmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/testmode.c b/drivers/net/wireless/ath/ath10k/testmode.c index 568810b4165776..0beb91be1b1c9c 100644 --- a/drivers/net/wireless/ath/ath10k/testmode.c +++ b/drivers/net/wireless/ath/ath10k/testmode.c @@ -157,7 +157,7 @@ static int ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, ar->hw_params.fw.dir, ATH10K_FW_UTF_FILE); /* load utf firmware image */ - ret = request_firmware_direct(&fw_file->firmware, filename, ar->dev); + ret = request_firmware_nowarn(&fw_file->firmware, filename, ar->dev); ath10k_dbg(ar, ATH10K_DBG_TESTMODE, "testmode fw request '%s': %d\n", filename, ret); |