]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: mxsfb: call remove() when booting OS
authorAnatolij Gustschin <agust@denx.de>
Sat, 25 Jan 2020 22:44:56 +0000 (23:44 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Feb 2020 22:04:28 +0000 (23:04 +0100)
commit8382b1019283d2c1e9ba09cf0a10205deaf32fe1
treed2684c0325ba8f5fbadc77d5c41a339f4dbceba7
parentab6ea931deeb8e435aeeb251bac7a2433e016271
video: mxsfb: call remove() when booting OS

Add DM_FLAG_OS_PREPARE flag to ensure that the driver's
remove() callback is invoked before booting the kernel.
This is required to stop the LCDIF controller. This was
the behaviour with old driver without DM_VIDEO support.
Without stopping the LCDIF we sometimes observe incorrect
Linux logo position.

Fixes: ae0760584b38 ("imx: mx6ul_14x14_evk: convert to DM_VIDEO")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reported-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/video/mxsfb.c