OrangePi_CM5/drivers/net/wireless/broadcom/brcm80211/brcmfmac
Tong Tiangen 5d452eafbd brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
[ Upstream commit 7ea7a1e05c7ff5ffc9f9ec1f0849f6ceb7fcd57c ]

brcmf_sdiod_remove has been called inside brcmf_sdiod_probe when fails,
so there's no need to call another one. Otherwise, sdiodev->freezer
would be double freed.

Fixes: 7836102a75 ("brcmfmac: reset SDIO bus on a firmware crash")
Signed-off-by: Tong Tiangen <tongtiangen@huawei.com>
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210601100128.69561-1-tongtiangen@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:21 +02:00
..
Kconfig
…
Makefile
…
bcdc.c
…
bcdc.h
…
bcmsdh.c brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
btcoex.c
…
btcoex.h
…
bus.h brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
cfg80211.c brcmfmac: correctly report average RSSI in station info 2021-07-14 16:56:21 +02:00
cfg80211.h
…
chip.c
…
chip.h
…
common.c
…
common.h
…
commonring.c
…
commonring.h
…
core.c brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
core.h
…
debug.c
…
debug.h
…
dmi.c
…
feature.c
…
feature.h
…
firmware.c
…
firmware.h
…
flowring.c
…
flowring.h
…
fweh.c
…
fweh.h
…
fwil.c
…
fwil.h
…
fwil_types.h
…
fwsignal.c
…
fwsignal.h
…
msgbuf.c
…
msgbuf.h
…
of.c
…
of.h
…
p2p.c
…
p2p.h
…
pcie.c brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
pcie.h brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
pno.c
…
pno.h
…
proto.c
…
proto.h
…
sdio.c brcmfmac: Fix a double-free in brcmf_sdio_bus_reset 2021-07-14 16:56:21 +02:00
sdio.h
…
tracepoint.c
…
tracepoint.h
…
usb.c brcmfmac: properly check for bus register errors 2021-06-03 09:00:43 +02:00
usb.h
…
vendor.c
…
vendor.h
…