]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: video: Fix return value issue
authorYe Li <ye.li@nxp.com>
Fri, 4 Jan 2019 09:11:05 +0000 (09:11 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 28 Jan 2019 20:13:33 +0000 (21:13 +0100)
commit3fd39937b1aeef3a4937b82f1efd6c101e156fd4
tree244629cacc588a2430bb9728b8121441395a178d
parent2f41ade79e5969ebea03a7dcadbeae8e03787d7e
imx: video: Fix return value issue

When framebuffer driver init is failed, we should return the err value not 0.
So the video init can exit immediately.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/video.c