media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
authorXu Qiang <xuqiang36@huawei.com>
Thu, 18 Aug 2022 06:57:53 +0000 (08:57 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 30 Aug 2022 13:28:34 +0000 (15:28 +0200)
commit4029372233e13e281f8c387f279f9f064ced3810
tree292dcfab515e7c45e65eb1b88a793fb89e710117
parent0202a665bf17fbe98fed954944aabbcb4f14a4cc
media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()

Add the missing clk_disable_unprepare() before return
from vdec_hevc_start() in the error handling case.

Fixes: 823a7300340e (“media: meson: vdec: add common HEVC decoder support”)
Signed-off-by: Xu Qiang <xuqiang36@huawei.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/meson/vdec/vdec_hevc.c