2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 14:43:54 +08:00
linux-next/drivers/media/platform/mediatek/vpu
Hans Verkuil 2192fa9527 media: mediatek: vpu: add missing clk_unprepare
If vpu_clock_enable() fails, then call clk_unprepare().

This fixes this smatch warning:

drivers/media/platform/mediatek/vpu/mtk_vpu.c:1031 mtk_vpu_resume() warn: 'vpu->clk' from clk_prepare() not released on lines: 1020.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Yunfei Dong <yunfei.dong@mediatek.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-06-09 16:08:53 +01:00
..
Kconfig
Makefile
mtk_vpu.c media: mediatek: vpu: add missing clk_unprepare 2023-06-09 16:08:53 +01:00
mtk_vpu.h