Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-29 Thread Kalle Valo
Dinghao Liu wrote: > When wlcore_hw_interrupt_notify() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. > > Signed-off-by: Dinghao Liu > Acked-by: Tony Lindgren Patch applied to wireless-drivers-next.git, thanks. 3e69ed2b52fd wlc

Re: Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-21 Thread Tony Lindgren
* dinghao@zju.edu.cn [200521 04:55]: > There is a check against ret after out_sleep tag. If > wl1271_configure_suspend_ap() > returns an error code, ret will be caught by this check and a warning will be > issued. OK thanks for checking. In that case this one too: Acked-by: Tony Lindgren

Re: Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-20 Thread dinghao . liu
There is a check against ret after out_sleep tag. If wl1271_configure_suspend_ap() returns an error code, ret will be caught by this check and a warning will be issued. "Tony Lindgren" 写道: > * Dinghao Liu [200520 12:58]: > > When wlcore_hw_interrupt_notify() returns an error

Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-20 Thread Tony Lindgren
* Dinghao Liu [200520 12:58]: > When wlcore_hw_interrupt_notify() returns an error code, > a pairing runtime PM usage counter decrement is needed to > keep the counter balanced. We should probably keep the warning though, nothing will get shown for wl1271_configure_suspend_ap() errors. Otherwise

[PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend

2020-05-20 Thread Dinghao Liu
When wlcore_hw_interrupt_notify() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/net/wireless/ti/wlcore/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wi