video: Use cache-alignment in video_sync()
authorSimon Glass <sjg@chromium.org>
Sun, 13 Nov 2016 21:22:06 +0000 (14:22 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:59:31 +0000 (17:59 -0700)
commit7981394e550094bbbb2eb5e62065fa14c2ca77b0
tree2adb318ec5d29dc46d1cb5c97a0fed5476ae50a6
parent28f98858759f546afc21f852f556ac648c08089f
video: Use cache-alignment in video_sync()

Sometimes the frame buffer is not a multiple of the cache line size.
Adjust the cache-flushing code to avoid cache warnings/errors in this
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c