aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/amba/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorAntoniu Miclaus <antoniu.miclaus@analog.com>2026-01-30 13:30:20 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-02-23 08:24:37 +0000
commitdd72e6c3cdea05cad24e99710939086f7a113fb5 (patch)
tree89957db6403de93033c2cb3e1b299650857f6a14 /include/linux/amba/ssh:/git@git.zx2c4.com
parentiio: imu: inv_icm42600: fix odr switch when turning buffer off (diff)
iio: light: bh1780: fix PM runtime leak on error path
Move pm_runtime_put_autosuspend() before the error check to ensure the PM runtime reference count is always decremented after pm_runtime_get_sync(), regardless of whether the read operation succeeds or fails. Fixes: 1f0477f18306 ("iio: light: new driver for the ROHM BH1780") Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/amba/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions