fbdev: sh_mobile_lcdc: Don't confuse line size with pitch
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 May 2012 08:58:26 +0000 (10:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:18:16 +0000 (15:18 +0800)
commit7716183bcc917203fb8353a226a0228167b9e832
tree767edf85a6aa738a7f15753db04a047add4d5bcc
parentc3083d9d9e5860c365e93b1e96aa65613fa829fb
fbdev: sh_mobile_lcdc: Don't confuse line size with pitch

commit 72c04af9a2d57b7945cf3de8e71461bd80695d50 upstream.

When using the MERAM the LCDC line size needs to be programmed with a
MERAM-specific value different than the real frame buffer pitch. Fix it.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h