linux/drivers/media/platform/mtk-mdp
Pan Bian 8ac9e914a4 media: mtk-mdp: use IS_ERR to check return value of of_clk_get
Function of_clk_get() returns an ERR_PTR on failures. In file
mtk_mdp_commp.c, its return value is checked against NULL. Such checks
cannot prevent from accessing bad memory. This patch replaces the NULL
checks with IS_ERR checks.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-20 08:20:42 -04:00
..
Makefile
mtk_mdp_comp.c media: mtk-mdp: use IS_ERR to check return value of of_clk_get 2017-08-20 08:20:42 -04:00
mtk_mdp_comp.h
mtk_mdp_core.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
mtk_mdp_core.h [media] mtk-mdp: allocate video_device dynamically 2016-11-22 05:42:29 -02:00
mtk_mdp_ipi.h
mtk_mdp_m2m.c media: mtk-mdp: constify v4l2_m2m_ops structures 2017-08-20 08:04:23 -04:00
mtk_mdp_m2m.h
mtk_mdp_regs.c [media] media: mtk-mdp: support pixelformat V4L2_PIX_FMT_MT21C 2016-10-21 12:09:48 -02:00
mtk_mdp_regs.h
mtk_mdp_vpu.c [media] mtk-mdp: fix double mutex_unlock 2016-10-21 12:09:53 -02:00
mtk_mdp_vpu.h