AUO-K190x: Use correct line length
authorHeiko Stübner <heiko@sntech.de>
Fri, 22 Mar 2013 14:13:02 +0000 (15:13 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 10:08:06 +0000 (13:08 +0300)
commita1655100ddfa10829b7d3b055611f268a82e335a
treeb00af82e6d7670881b27e83ab47490ed9a7d25fc
parent07961ac7c0ee8b546658717034fe692fd12eefa9
AUO-K190x: Use correct line length

Previously all functions that used the line length used xres directly,
thus hardcoding a 8bits per pixel value.

This patch calculates the correct line length according to the actual
bits per pixel value and changes all line length users to use the
calculated line length value.

Signed-off-by: Heiko Stübner <heiko@sntech.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/auo_k1900fb.c
drivers/video/auo_k1901fb.c
drivers/video/auo_k190x.c