2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/ti/wlcore
Andreas Kemnade 996c934c8c wifi: wlcore: fix unbalanced pm_runtime calls
If firmware boot failes, runtime pm is put too often:
[12092.708099] wlcore: ERROR firmware boot failed despite 3 retries
[12092.708099] wl18xx_driver wl18xx.1.auto: Runtime PM usage count underflow!
Fix that by redirecting all error gotos before runtime_get so that runtime is
not put.

Fixes: c40aad28a3 ("wlcore: Make sure firmware is initialized in wl1271_op_add_interface()")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Michael Nemanov <michael.nemanov@ti.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20250104195507.402673-1-akemnade@kernel.org
2025-01-10 14:51:26 +02:00
..
acx.c
acx.h
boot.c wifi: wlcore: boot: replace deprecated strncpy with strscpy 2023-10-23 20:29:15 +03:00
boot.h
cmd.c Highlights this time are: 2024-06-27 13:53:43 -07:00
cmd.h wifi: ti: Avoid a hundred -Wflex-array-member-not-at-end warnings 2024-03-28 15:07:37 +02:00
conf.h
debug.h
debugfs.c
debugfs.h
event.c wifi: wlcore: correctness fix fwlog reading 2024-06-18 13:22:10 +03:00
event.h
hw_ops.h
ini.h
init.c
init.h
io.c
io.h
Kconfig
main.c wifi: wlcore: fix unbalanced pm_runtime calls 2025-01-10 14:51:26 +02:00
Makefile
ps.c
ps.h
rx.c
rx.h
scan.c
scan.h
sdio.c wifi: wlcore: sdio: Use helper to define resources 2024-09-18 16:53:16 +03:00
spi.c wifi: fill in MODULE_DESCRIPTION()s for wlcore 2024-01-31 18:32:31 +02:00
sysfs.c wifi: wlcore: sysfs: constify 'struct bin_attribute' 2024-12-18 20:05:06 +02:00
sysfs.h
testmode.c wifi: wlcore: testmode: Constify strutc nla_policy 2024-12-09 17:58:43 +02:00
testmode.h
tx.c wifi: wlcore: fix wlcore AP mode 2024-06-18 12:16:57 +03:00
tx.h
vendor_cmd.c
vendor_cmd.h
wl12xx_80211.h wifi: ti: Avoid a hundred -Wflex-array-member-not-at-end warnings 2024-03-28 15:07:37 +02:00
wlcore_i.h Highlights this time are: 2024-06-27 13:53:43 -07:00
wlcore.h wifi: wlcore: Convert to platform remove callback returning void 2023-09-18 17:31:37 +03:00