WSL2-Linux-Kernel/drivers/media/platform/sti
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 media: platform: sti: Fix runtime PM imbalance in regs_show 2021-04-09 12:55:05 +02:00
c8sectpfe media: media/platform/sti: fix kernel-doc formatting 2021-03-22 12:54:27 +01:00
delta media: st-delta: Fix reference count leak in delta_run_work 2020-09-27 10:56:07 +02:00
hva media: media/platform/sti: fix kernel-doc formatting 2021-03-22 12:54:27 +01:00