summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-12-15 17:12:09 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-01-05 13:54:53 +0300
commit5337663e5beb47e6dfe757417452a9e5de8128a1 (patch)
tree19d6f66ebd5f7119eca1d146e60f9ddddc79e004
parentb66d7af41f333f3fc960a18714d25474c512bcaa (diff)
downloadu-boot-5337663e5beb47e6dfe757417452a9e5de8128a1.tar.xz
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>
-rw-r--r--drivers/video/video-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 938e7d3713..21452a1cda 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -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)