linux/drivers/media/platform
Christophe JAILLET 2143ad413c media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
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>
2021-09-30 10:07:55 +02:00
..
allegro-dvt media: allegro-dvt: avoid EN DASH char 2021-06-04 08:10:07 +02:00
am437x media: am437x: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:48 +02:00
atmel media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
cadence media: cadence: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:48 +02:00
coda media: coda: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
davinci media: davinci: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
exynos4-is media: exynos4-is: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
exynos-gsc media: exynos-gsc: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
imx-jpeg media: imx-jpeg: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:49 +02:00
marvell-ccic media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
meson/ge2d media: meson: ge2d: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
mtk-jpeg media: mtk-jpeg: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
mtk-mdp media: mdk-mdp: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:33 +02:00
mtk-vcodec media: mtk-vcodec: venc: fix return value when start_streaming fails 2021-09-30 10:07:53 +02:00
mtk-vpu media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-09-30 10:07:55 +02:00
omap media: videobuf2: Move frame_vector into media subsystem 2021-01-12 14:15:31 +01:00
omap3isp media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
qcom media: camss: vfe: simplify vfe_get_wm_sizes() 2021-09-30 10:07:55 +02:00
rcar-vin media: rcar-csi2: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
rockchip media: rockchip: rga: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
s3c-camif media: s3c-camif: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
s5p-g2d media: s5p-g2d: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
s5p-jpeg media: s5p-jpeg: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
s5p-mfc media: s5p-mfc: Add checking to s5p_mfc_probe(). 2021-09-30 10:07:54 +02:00
sti media: sti: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
stm32 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread() 2021-09-30 10:07:44 +02:00
sunxi media: sunxi: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
ti-vpe media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
vsp1 media: vsp1: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:53 +02:00
xilinx media: xilinx: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:53 +02:00
aspeed-video.c media: aspeed-video: ignore interrupts that aren't enabled 2021-09-30 10:07:54 +02:00
fsl-viu.c media: use getter/setter functions 2021-03-11 11:59:42 +01:00
imx-pxp.c media: imx-pxp: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: mtk-vcodec: vdec: add media device if using stateless api 2021-09-30 10:07:42 +02:00
m2m-deinterlace.c media: media/platform: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:54:14 +01:00
Makefile media: atmel: atmel-isc: add microchip-xisc driver 2021-06-08 15:46:31 +02:00
mx2_emmaprp.c media: mx2_emmaprp: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:50 +02:00
pxa_camera.c media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00
rcar_drif.c media: rcar_drif: Make use of the helper function devm_platform_get_and_ioremap_resource() 2021-09-30 10:07:53 +02:00
rcar_fdp1.c media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
rcar_jpu.c media: rcar_jpu: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
rcar-fcp.c media: rcar-fcp: use pm_runtime_resume_and_get() 2021-05-20 16:02:36 +02:00
renesas-ceu.c media: renesas-ceu: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
sh_vou.c media: sh_vou: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
via-camera.c media: via-camera: deleted these redundant semicolons 2021-09-30 10:07:53 +02:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c media: v4l: async: Rename async nf functions, clean up long lines 2021-09-30 10:07:35 +02:00