linux/drivers/media/platform/sti/bdisp
Dinghao Liu dbd2f2dc02 media: bdisp: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-27 10:50:16 +02:00
..
bdisp-debug.c media: sti: no need to check return value of debugfs_create functions 2020-09-01 14:13:26 +02:00
bdisp-filter.h media: platform: sti: Adopt SPDX identifier 2017-12-13 09:54:41 -05:00
bdisp-hw.c media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run() 2020-01-08 14:37:28 +01:00
bdisp-reg.h media: platform: sti: Adopt SPDX identifier 2017-12-13 09:54:41 -05:00
bdisp-v4l2.c media: bdisp: Fix runtime PM imbalance on error 2020-09-27 10:50:16 +02:00
bdisp.h media: sti: no need to check return value of debugfs_create functions 2020-09-01 14:13:26 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00