projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b66d7af
)
video: Call video_sync in video_clear()
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 15 Dec 2020 14:12:09 +0000
(15:12 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 5 Jan 2021 10:54:53 +0000
(11:54 +0100)
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>
drivers/video/video-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/video/video-uclass.c
b/drivers/video/video-uclass.c
index 938e7d371311f52682e86aab6e1108a3ba2b2c83..21452a1cda97b90e1cbfa9682b435dcbae282d56 100644
(file)
--- 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)