]> git.ipfire.org Git - people/ms/u-boot.git/commit
video: ipu: Fix dereferencing NULL pointer problem
authorPeng Fan <peng.fan@nxp.com>
Tue, 2 Jan 2018 07:25:36 +0000 (15:25 +0800)
committerAnatolij Gustschin <agust@denx.de>
Wed, 3 Jan 2018 08:46:52 +0000 (09:46 +0100)
commitcca3ff054ab3e1f5f0d3f2d58da263cae201db50
tree463dba72c323aed737afe74110cdb8618cc33d65
parent1314bd1192b4c67d28bdae7eee639588e88090cd
video: ipu: Fix dereferencing NULL pointer problem

The clk_set_rate function dereferences the clk pointer without
checking whether it is NULL. This may cause problem when clk is NULL.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/ipu_common.c