Re: Re: [PATCH] Input: cyapa - Fix rumtime PM imbalance on error

2021-04-08 Thread dinghao . liu
> Hi Dinghao, > > On Wed, Apr 07, 2021 at 12:07:38PM +0800, Dinghao Liu wrote: > > When mutex_lock_interruptible() fails, a pairing PM usage > > counter decrement is needed to keep the counter balanced. > > Thank you for the patch. > > > > > Signed-off-by: Dinghao Liu > > --- > >

Re: [PATCH] Input: cyapa - Fix rumtime PM imbalance on error

2021-04-08 Thread Dmitry Torokhov
Hi Dinghao, On Wed, Apr 07, 2021 at 12:07:38PM +0800, Dinghao Liu wrote: > When mutex_lock_interruptible() fails, a pairing PM usage > counter decrement is needed to keep the counter balanced. Thank you for the patch. > > Signed-off-by: Dinghao Liu > --- > drivers/input/mouse/cyapa.c | 4

[PATCH] Input: cyapa - Fix rumtime PM imbalance on error

2021-04-06 Thread Dinghao Liu
When mutex_lock_interruptible() fails, a pairing PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/input/mouse/cyapa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c