Re: Re: [PATCH] power: supply: bq24190_charger: fix runtime pm imbalance

2020-05-25 Thread dinghao . liu
> On Wed, May 20, 2020 at 10:01 AM Dinghao Liu wrote: > > > > pm_runtime_get_sync() increments the runtime PM usage counter even > > it returns an error code. Thus a pairing decrement is needed on > > the error handling path to keep the counter balanced. > > > > Signed-off-by: Dinghao Liu > > ---

Re: [PATCH] power: supply: bq24190_charger: fix runtime pm imbalance

2020-05-25 Thread Rafael J. Wysocki
On Wed, May 20, 2020 at 10:01 AM Dinghao Liu wrote: > > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. > > Signed-off-by: Dinghao Liu > --- > drivers/powe