]> git.sur5r.net Git - u-boot/commit
video: rk3288_mipi: check in rk_mipi_ofdata_to_platdata
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Mar 2018 14:25:41 +0000 (15:25 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 28 Mar 2018 21:44:58 +0000 (23:44 +0200)
commit0ea91c3240bdb32b901a3c0639d35ab559b675db
tree2d0f39be13a6c1aa5a6c8abc9f8323418ec316f6
parenta89c725d2c6082e42be2ff59a48c967974ead77f
video: rk3288_mipi: check in rk_mipi_ofdata_to_platdata

The error checking should also catch the case that no range has beeen
defined.
syscon_get_first_range() returns NULL if no range is defined.
cf. rk3399_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/rk3288_mipi.c