aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2021-04-12 13:32:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-19 10:13:13 +0200
commit020fe6f80f4f1cc672687cdb59d438f8c031ef70 (patch)
tree31bcea413b91b0fe9a444000ee32693de7706fb1 /drivers/iio/humidity
parent9db8ba3cac0523308d70ac23739374d5af5c77a6 (diff)
downloadkernel_replicant_linux-020fe6f80f4f1cc672687cdb59d438f8c031ef70.tar.gz
kernel_replicant_linux-020fe6f80f4f1cc672687cdb59d438f8c031ef70.tar.bz2
kernel_replicant_linux-020fe6f80f4f1cc672687cdb59d438f8c031ef70.zip
iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
[ Upstream commit a2fa9242e89f27696515699fe0f0296bf1ac1815 ] 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 <dinghao.liu@zju.edu.cn> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210412053204.4889-1-dinghao.liu@zju.edu.cn Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/iio/humidity')
0 files changed, 0 insertions, 0 deletions