mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 15:10:26 +09:00
video: Call video_sync in video_clear()
There is a need to call sync when anybody asking for clearing display. For example via cls command. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b66d7af41f
commit
5337663e5b
@ -143,7 +143,7 @@ int video_clear(struct udevice *dev)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
return video_sync(dev, false);
|
||||
}
|
||||
|
||||
void video_set_default_colors(struct udevice *dev, bool invert)
|
||||
|
Loading…
Reference in New Issue
Block a user