]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: brcmfmac: silence warning for non-existent, optional firmware
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Sat, 28 Mar 2026 14:01:21 +0000 (15:01 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Apr 2026 13:39:18 +0000 (15:39 +0200)
commit368f5098ed0b2eb5d06dbbe692c163c85f240a4d
treeb8efe14b07d107807959ca6b15b8225e0d5a4574
parent1c161ca67e9bbd39b5c2adc8e067affcab10e8a5
wifi: brcmfmac: silence warning for non-existent, optional firmware

The driver tries to load optional firmware files, specific to
the actual board compatible. These might not exist resulting in a warning
like this:
brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4373-sdio.tq,imx93-tqma9352-mba93xxla-mini.bin failed with error -2

Silence this by using firmware_request_nowait_nowarn() for all firmware
loads which use brcmf_fw_request_done_alt_path() as callback. This one
handles optional firmware files.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
[arend: use nowarn api for optional firmware files]
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20260328140121.2583606-1-arend.vanspriel@broadcom.com
[clean up code a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c