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
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
..
wl12xx wifi: Switch back to struct platform_driver::remove() 2024-11-11 14:10:45 +02:00
wl18xx wifi: Switch back to struct platform_driver::remove() 2024-11-11 14:10:45 +02:00
wl1251 wifi: wl1251: Use IRQF_NO_AUTOEN flag in request_irq() 2024-09-18 16:54:30 +03:00
wlcore wifi: wlcore: fix unbalanced pm_runtime calls 2025-01-10 14:51:26 +02:00
Kconfig wifi: wl1251: drop support for platform data 2022-11-16 11:37:37 +02:00
Makefile wifi: ti: remove obsolete lines in the Makefile 2022-12-14 14:33:05 +02:00