linux-stable/drivers/media/platform/sti
Miaoqian Lin f68a6bb723 media: st-delta: Fix PM disable depth imbalance in delta_probe
[ Upstream commit 94e3dba710 ]

The pm_runtime_enable will decrease power disable depth.
If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().

Fixes: f386509e49 ("[media] st-delta: STiH4xx multi-format video decoder v4l2 driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Acked-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 16:53:49 +02:00
..
bdisp media: bdisp: Fix runtime PM imbalance on error 2020-10-29 09:07:15 +01:00
c8sectpfe
cec
delta media: st-delta: Fix PM disable depth imbalance in delta_probe 2022-06-14 16:53:49 +02:00
hva media: st-hva: Fix potential NULL pointer dereferences 2021-07-20 16:17:32 +02:00