]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: fix runtime pm imbalance in wlcore_irq_locked
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Fri, 22 May 2020 04:49:04 +0000 (12:49 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 May 2020 17:38:15 +0000 (20:38 +0300)
commit787307bb3c16c7671198b40e474652350e5a415c
tree6884680e822813e278c6976486ce3d31b7a44496
parent68325efb875e7dc87cdcb21c58a3dded4a53f9ef
wlcore: fix runtime pm imbalance in wlcore_irq_locked

When wlcore_fw_status() returns an error code, a pairing
runtime PM usage counter decrement is needed to keep the
counter balanced. It's the same for all error paths after
wlcore_fw_status().

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200522044906.29564-1-dinghao.liu@zju.edu.cn
drivers/net/wireless/ti/wlcore/main.c