diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-03-07 09:08:59 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 11:02:02 +0200 |
commit | 94e3dba710fe0afc772172305444250023fc2d30 (patch) | |
tree | c2193f5762c93b8a2bd3ac5dacb778d1f45afdcc /lib/seq_buf.c | |
parent | 5c0db68ce0faeb000c3540d095eb272d671a6e03 (diff) | |
download | linux-94e3dba710fe0afc772172305444250023fc2d30.tar.bz2 |
media: st-delta: Fix PM disable depth imbalance in delta_probe
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: f386509e4959 ("[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>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions