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

2021-04-07 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 > > --- > > drivers/inpu

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

2021-04-07 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 +++-