]> git.baikalelectronics.ru Git - uboot.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)
commitdcaa2e11b50cca40103df9ced82eeaefee7b6c8a
tree244629cacc588a2430bb9728b8121441395a178d
parent7752f154c9d0e81c80bf94ecd6fe412c829112da
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