Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andres Rodriguez and committed by
Greg Kroah-Hartman
c8e02802 7dcc0134

+1 -1
+1 -1
drivers/net/wireless/ath/ath10k/core.c
··· 653 653 dir = "."; 654 654 655 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 657 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", 658 658 filename, ret); 659 659