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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 May 2012 03:59:32 +0000 (20:59 -0700)
commit72c04af9a2d57b7945cf3de8e71461bd80695d50
tree1edf785ba527cabff41df7b66423faba81771008
parent471368557a734c6c486ee757952c902b36e7fd01
fbdev: sh_mobile_lcdc: Don't confuse line size with pitch

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>
Cc: stable@vger.kernel.org # for 3.4
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h