Re: [PATCH] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error

2021-04-11 Thread Jonathan Cameron
On Wed, 7 Apr 2021 12:59:35 +0800 Dinghao Liu wrote: > When lidar_write_control() fails, a pairing PM usage counter > decrement is needed to keep the counter balanced. > > Signed-off-by: Dinghao Liu Hi, patch content looks good but it needs a fixes tag so we know how far to backport it.

Re: [PATCH] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error

2021-04-07 Thread Andy Shevchenko
On Wed, Apr 7, 2021 at 7:59 AM Dinghao Liu wrote: > > When lidar_write_control() fails, a pairing PM usage counter > decrement is needed to keep the counter balanced. FWIW, Reviewed-by: Andy Shevchenko > Signed-off-by: Dinghao Liu > --- > drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 1

[PATCH] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error

2021-04-06 Thread Dinghao Liu
When lidar_write_control() fails, a pairing PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c