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

2021-04-18 Thread Jonathan Cameron
On Mon, 12 Apr 2021 12:23:43 +0300 Andy Shevchenko wrote: > On Mon, Apr 12, 2021 at 8:32 AM Dinghao Liu wrote: > > > > When lidar_write_control() fails, a pairing PM usage counter > > decrement is needed to keep the counter balanced. > > You forgot to collect given tags. > > > Fixes: 4ac4e08

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

2021-04-12 Thread Andy Shevchenko
On Mon, Apr 12, 2021 at 8:32 AM Dinghao Liu wrote: > > When lidar_write_control() fails, a pairing PM usage counter > decrement is needed to keep the counter balanced. You forgot to collect given tags. > Fixes: 4ac4e086fd8c5 ("iio: pulsedlight-lidar-lite: add runtime PM") > Signed-off-by: Dingha

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

2021-04-11 Thread Dinghao Liu
When lidar_write_control() fails, a pairing PM usage counter decrement is needed to keep the counter balanced. Fixes: 4ac4e086fd8c5 ("iio: pulsedlight-lidar-lite: add runtime PM") Signed-off-by: Dinghao Liu --- Changelog: v2: - Add the fix tag. --- drivers/iio/proximity/pulsedlight-lidar-lite-