Re: Re: [PATCH] media: smiapp: Fix runtime PM imbalance on error

2020-05-25 Thread dinghao . liu
> Hi Dinghao, > > Thanks for the patch. > > On Fri, May 22, 2020 at 05:03:13PM +0800, Dinghao Liu wrote: > > When v4l2_async_register_subdev_sensor_common() returns > > an error code, a pairing runtime PM usage counter > > decrement is needed to keep the counter balanced. > > > > Signed-off-by:

Re: [PATCH] media: smiapp: Fix runtime PM imbalance on error

2020-05-25 Thread Sakari Ailus
Hi Dinghao, Thanks for the patch. On Fri, May 22, 2020 at 05:03:13PM +0800, Dinghao Liu wrote: > When v4l2_async_register_subdev_sensor_common() returns > an error code, a pairing runtime PM usage counter > decrement is needed to keep the counter balanced. > > Signed-off-by: Dinghao Liu > ---

[PATCH] media: smiapp: Fix runtime PM imbalance on error

2020-05-22 Thread Dinghao Liu
When v4l2_async_register_subdev_sensor_common() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/media/i2c/smiapp/smiapp-core.c | 1 + 1 file changed, 1 insertion(+) diff --git