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" <t...@atomide.com>写道: > * Dinghao Liu <dinghao....@zju.edu.cn> [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