iwlwifi: yoyo: don't print failure if debug firmware is missing
authorWolfram Sang <wsa@kernel.org>
Thu, 25 Jun 2020 16:52:10 +0000 (18:52 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 5 Sep 2020 14:52:44 +0000 (15:52 +0100)
Origin: https://git.kernel.org/linus/3f4600de8c93917594a8b3c9ca713160ee4d563c
Bug-Debian: https://bugs.debian.org/966218

Missing this firmware is not fatal, my wifi card still works. Even more,
I couldn't find any documentation what it is or where to get it. So, I
don't think the users should be notified if it is missing. If you browse
the net, you see the message is present is in quite some logs. Better
remove it.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200625165210.14904-1-wsa@kernel.org
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name iwlwifi-yoyo-don-t-print-failure-if-debug-firmware-i.patch

drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c

index 27116c7d3f4f8623d90a4ea72779a880ed507516..9ce7207d9ec5b11770f984dbfe37a1d2f555a6ec 100644 (file)
@@ -480,7 +480,7 @@ void iwl_dbg_tlv_load_bin(struct device *dev, struct iwl_trans *trans)
        if (!iwlwifi_mod_params.enable_ini)
                return;
 
-       res = request_firmware(&fw, "iwl-debug-yoyo.bin", dev);
+       res = firmware_request_nowarn(&fw, "iwl-debug-yoyo.bin", dev);
        if (res)
                return;