Skip to content
Snippets Groups Projects
Commit 8382b101 authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

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: ae076058 ("imx: mx6ul_14x14_evk: convert to DM_VIDEO")
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Reported-by: default avatarFabio Estevam <festevam@gmail.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
parent ab6ea931
No related branches found
No related tags found
No related merge requests found
...@@ -429,6 +429,6 @@ U_BOOT_DRIVER(mxs_video) = { ...@@ -429,6 +429,6 @@ U_BOOT_DRIVER(mxs_video) = {
.bind = mxs_video_bind, .bind = mxs_video_bind,
.probe = mxs_video_probe, .probe = mxs_video_probe,
.remove = mxs_video_remove, .remove = mxs_video_remove,
.flags = DM_FLAG_PRE_RELOC, .flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE,
}; };
#endif /* ifndef CONFIG_DM_VIDEO */ #endif /* ifndef CONFIG_DM_VIDEO */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment