summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-12 12:21:36 (GMT)
committerSimon Glass <sjg@chromium.org>2017-07-11 16:08:20 (GMT)
commitfb0b709effab16b0d73cfc6130e0b28bfea6ace2 (patch)
tree362509366230bc970554494e1e924d6e0cd39244 /drivers
parent2f0dd5cafe6e6f59e4d798ca2ec0a6bae3a19aa5 (diff)
downloadu-boot-fsl-qoriq-fb0b709effab16b0d73cfc6130e0b28bfea6ace2.tar.xz
dm: video: Sync display on backspace
We should sync the display (e.g. flush cache) when backspace is pressed to ensure that the character is erased correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/vidconsole-uclass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
index e9a90b1..b5afd72 100644
--- a/drivers/video/vidconsole-uclass.c
+++ b/drivers/video/vidconsole-uclass.c
@@ -77,6 +77,7 @@ static int vidconsole_back(struct udevice *dev)
if (priv->ycur < 0)
priv->ycur = 0;
}
+ video_sync(dev->parent);
return 0;
}