]> git.sur5r.net Git - u-boot/commit
video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before
authorAnatolij Gustschin <agust@denx.de>
Fri, 25 Aug 2017 13:10:43 +0000 (15:10 +0200)
committerAnatolij Gustschin <agust@denx.de>
Tue, 29 Aug 2017 13:23:55 +0000 (15:23 +0200)
commit0d1ae97c0299089e85a2980ac76e924e6d4447c6
tree8e2735870f700820e8f5e85d52d1728dce6e4425
parent22aa21dba4085bb8d597eeeeeee9e3328af684bb
video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before

Boards can skip display interface init using board_video_skip().
If display interface was not initialized (e.g. no ipuv3 framebuffer
registered or IPU clock disabled), booting Linux stops due to the
crash in IPU shutdown function, when accessing IPU registers.
Check IPU clock and skip shutdown if clock is not enabled.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/mxc_ipuv3_fb.c