UPSTREAM: video: Allow driver to specify the line length

At present line_length is always calculated in video_post_probe(). But
some hardware may use a different line length, e.g. with a 1366-wide
display.

Allow the driver to set this value if needed.

BUG=chromium:903818
TEST=build and boot on careena; see that display is good now
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Change-Id: I66e1cffc055e84d40c47ac1ed701127bcb4f57cc
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1366597
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
3 files changed