diff options
author | Andres Rodriguez <andresx7@gmail.com> | 2018-05-10 16:08:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 10:44:41 -0400 |
commit | c8e028026387ea2d520a502971cfa21f8cc8212d (patch) | |
tree | dd59ec9916ece8ac15b439d8404d71d79a038d80 | |
parent | 7dcc01343e483efda0882456f8361f061a5f416d (diff) |
ath10k: use firmware_request_nowarn() to load firmware
This reduces the unnecessary spew when trying to load optional firmware:
"Direct firmware load for ... failed with error -2"
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 8a3020dbd4cf..936907227b9e 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c | |||
@@ -653,7 +653,7 @@ static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar, | |||
653 | dir = "."; | 653 | dir = "."; |
654 | 654 | ||
655 | snprintf(filename, sizeof(filename), "%s/%s", dir, file); | 655 | snprintf(filename, sizeof(filename), "%s/%s", dir, file); |
656 | ret = request_firmware(&fw, filename, ar->dev); | 656 | ret = firmware_request_nowarn(&fw, filename, ar->dev); |
657 | ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", | 657 | ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", |
658 | filename, ret); | 658 | filename, ret); |
659 | 659 | ||