OrangePi_CM5/drivers/media/platform
Christophe JAILLET 4280b30ea9 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
[ Upstream commit 2143ad413c05c7be24c3a92760e367b7f6aaac92 ]

A successful 'clk_prepare()' call should be balanced by a corresponding
'clk_unprepare()' call in the error handling path of the probe, as already
done in the remove function.

Update the error handling path accordingly.

Fixes: 3003a180ef ("[media] VPU: mediatek: support Mediatek VPU")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Houlong Wei <houlong.wei@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:05 +01:00
..
am437x
…
atmel
…
cadence
…
coda media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats 2021-09-15 09:50:34 +02:00
davinci
…
exynos-gsc
…
exynos4-is
…
marvell-ccic
…
mtk-jpeg
…
mtk-mdp
…
mtk-vcodec
…
mtk-vpu media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-11-18 14:04:05 +01:00
omap
…
omap3isp
…
qcom media: venus: venc: Fix potential null pointer dereference on pointer fmt 2021-09-15 09:50:36 +02:00
rcar-vin media: rcar-csi2: Add checking to rcsi2_start_receiver() 2021-11-18 14:03:56 +01:00
rockchip/rga
…
s3c-camif
…
s5p-g2d
…
s5p-jpeg
…
s5p-mfc media: s5p-mfc: Add checking to s5p_mfc_probe(). 2021-11-18 14:03:55 +01:00
sti
…
stm32 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread() 2021-11-18 14:03:55 +01:00
sunxi
…
ti-vpe
…
vsp1
…
xilinx
…
Kconfig
…
Makefile
…
aspeed-video.c
…
fsl-viu.c
…
imx-pxp.c
…
imx-pxp.h
…
m2m-deinterlace.c
…
mx2_emmaprp.c
…
pxa_camera.c
…
rcar-fcp.c
…
rcar_drif.c
…
rcar_fdp1.c
…
rcar_jpu.c
…
renesas-ceu.c
…
sh_vou.c
…
via-camera.c
…
via-camera.h
…
video-mux.c
…