From: Simon Glass Date: Mon, 12 Jun 2017 12:21:36 +0000 (-0600) Subject: dm: video: Sync display on backspace X-Git-Tag: v2017.09-rc1~214^2~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb0b709effab16b0d73cfc6130e0b28bfea6ace2;p=u-boot 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 Acked-by: Anatolij Gustschin Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c index e9a90b1b9b..b5afd72227 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; }