[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52c832ab-1e67-410a-a0f0-91703d24c9c0@broadcom.com>
Date: Mon, 14 Apr 2025 11:28:17 +0200
From: Arend van Spriel <arend.vanspriel@...adcom.com>
To: Wentao Liang <vulab@...as.ac.cn>
Cc: kvalo@...nel.org, sebastian.reichel@...labora.com,
erick.archer@...look.com, megi@....cz, linux-wireless@...r.kernel.org,
brcm80211@...ts.linux.dev, brcm80211-dev-list.pdl@...adcom.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] brcmfmac: Add an error log for brcmf_sdiod_ramrw()
On 4/14/2025 9:42 AM, Wentao Liang wrote:
> The function brcmf_sdio_buscore_activate() calls the function
> brcmf_sdiod_ramrw(), but does not check its return value. Log
> the error message to prevent silent failure if the function fails.
If the reset vector can not be written to device memory the firmware
will not start and we get a probe failure. While it seems useful to log
the error I suspect that the MMC/SDIO subsystem will also provide some
feedback when we can not access the memory on the device (SDIO CMD52
failure). Oh, well.
Acked-by: Arend van Spriel <arend.vanspriel@...adcom.com>
> Signed-off-by: Wentao Liang <vulab@...as.ac.cn>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Powered by blists - more mailing lists