OpenCloudOS-Kernel/drivers/media/platform/sti
Hans Verkuil 0dfa73608f media: sti/hva: add missing clk_disable_unprepare()
Fixes this smatch warning:

drivers/media/platform/sti/hva/hva-hw.c:453 hva_hw_runtime_resume() warn: 'hva->clk' not released on lines: 450.

Call clk_disable_unprepare() when clk_set_rate() fails.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-01-27 08:34:09 +01:00
..
bdisp media: bdisp: Fix runtime PM imbalance on error 2020-09-27 10:50:16 +02:00
c8sectpfe media: sti/c8sectpfe: set correct return code 2021-01-27 08:33:50 +01:00
delta media: st-delta: Fix reference count leak in delta_run_work 2020-09-27 10:56:07 +02:00
hva media: sti/hva: add missing clk_disable_unprepare() 2021-01-27 08:34:09 +01:00