From: Michal Simek Date: Tue, 15 Dec 2020 14:12:09 +0000 (+0100) Subject: video: Call video_sync in video_clear() X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=5337663e5beb47e6dfe757417452a9e5de8128a1;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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)