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:
Michal Simek 2020-12-15 15:12:09 +01:00
parent b66d7af41f
commit 5337663e5b

View File

@ -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)