Re: Re: [PATCH] wlcore: fix runtime pm imbalance in wl1271_op_suspend
From: dinghao . liu
Date: Thu May 21 2020 - 00:53:35 EST
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" <tony@xxxxxxxxxxx>åéï
> * Dinghao Liu <dinghao.liu@xxxxxxxxxx> [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 looks good to me.
>
> Regards,
>
> Tony