projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcc013
)
ath10k: use firmware_request_nowarn() to load firmware
author
Andres Rodriguez
<
[email protected]
>
Thu, 10 May 2018 20:08:46 +0000
(13:08 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 14 May 2018 14:44:41 +0000
(16:44 +0200)
This reduces the unnecessary spew when trying to load optional firmware:
"Direct firmware load for ... failed with error -2"
Signed-off-by: Andres Rodriguez <
[email protected]
>
Reviewed-by: Kees Cook <
[email protected]
>
Acked-by: Kalle Valo <
[email protected]
>
Signed-off-by: Luis R. Rodriguez <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/net/wireless/ath/ath10k/core.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/core.c
b/drivers/net/wireless/ath/ath10k/core.c
index 8a3020dbd4cff318eca1f803d3ec76caf5c75b87..936907227b9ea2cbd1483848e5f79c75a4b00a2e 100644
(file)
--- 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,
dir = ".";
snprintf(filename, sizeof(filename), "%s/%s", dir, file);
- ret =
request_firmware
(&fw, filename, ar->dev);
+ ret =
firmware_request_nowarn
(&fw, filename, ar->dev);
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n",
filename, ret);