dm: video: correctly clean background in 16bit mode
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 8 Feb 2018 20:47:10 +0000 (21:47 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 6 Mar 2018 09:01:40 +0000 (10:01 +0100)
commitd7a75d3cd7cd7ce3665442e4e566b147c4c8602b
treeee2d1d2d8a7eee6a919b79e97a9132c808a877b9
parent3aeb0cbe126849bd8aaa332a18b7ab2fe0699c02
dm: video: correctly clean background in 16bit mode

In 16 bit mode we have to copy two bytes per pixels repeatedly and not
four. Otherwise we will see a striped pattern.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c