mirror_ubuntu-kernels/drivers/media/platform/sti/bdisp
Dinghao Liu 69306a947b media: platform: sti: Fix runtime PM imbalance in regs_show
pm_runtime_get_sync() will increase the runtime PM counter
even it returns an error. Thus a pairing decrement is needed
to prevent refcount leak. Fix this by replacing this API with
pm_runtime_resume_and_get(), which will not change the runtime
PM counter on error.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-04-09 12:55:05 +02:00
..
bdisp-debug.c media: platform: sti: Fix runtime PM imbalance in regs_show 2021-04-09 12:55:05 +02:00
bdisp-filter.h media: media/platform/sti: fix kernel-doc formatting 2021-03-22 12:54:27 +01: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