]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: rk3399_mipi: correct error checking
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Mar 2018 14:18:10 +0000 (15:18 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 28 Mar 2018 21:30:31 +0000 (23:30 +0200)
commitfca10453cf51a34ddd0e6bf9c509cdabaa3d1f85
treed5839d77d435584a4e1f3082fead690de044817a
parente56a713eac9ae18305e2c6d99cbd5887f256d91a
video: rk3399_mipi: correct error checking

Pointers are never negative. Use macro IS_ERR() for checking.
cf. rk3288_mipi.c

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/video/rockchip/rk3399_mipi.c