]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: fix runtime pm imbalance in __wl1271_op_remove_interface
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Wed, 20 May 2020 13:08:04 +0000 (21:08 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 May 2020 17:34:47 +0000 (20:34 +0300)
commit33cd0db97b99ec2c875456c42af2db362a84b805
tree918a233f68634c9ffe39f2c1a44af0c0b8d912d0
parent94f2c66cd0c5d666e7511e9337e84c9baf90e5d3
wlcore: fix runtime pm imbalance in __wl1271_op_remove_interface

When wl12xx_cmd_role_disable() returns an error code,
a pairing runtime PM usage counter decrement is needed to
keep the counter balanced.

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/20200520130806.14789-1-dinghao.liu@zju.edu.cn
drivers/net/wireless/ti/wlcore/main.c