Re: [PATCH] i2c: busses: Fix a reference count leak.

2020-06-15 Thread Wolfram Sang
On Mon, Jun 15, 2020 at 06:31:28AM +, Aisheng Dong wrote: > > From: Andy Duan > > Sent: Monday, June 15, 2020 10:49 AM > > > > From: wu000...@umn.edu Sent: Sunday, June 14, > > 2020 6:12 AM > > > From: Qiushi Wu > > > > > > pm_runtime_get_sync() increments the runtime PM usage counter even

RE: [PATCH] i2c: busses: Fix a reference count leak.

2020-06-15 Thread Aisheng Dong
> From: Andy Duan > Sent: Monday, June 15, 2020 10:49 AM > > From: wu000...@umn.edu Sent: Sunday, June 14, > 2020 6:12 AM > > From: Qiushi Wu > > > > pm_runtime_get_sync() increments the runtime PM usage counter even > > when it returns an error code. Thus call pm_runtime_put_noidle() if > >