fbdev: sh_mobile_lcdc: Fix vertical panning step
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 26 Jul 2012 12:36:55 +0000 (14:36 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 29 Jul 2012 01:17:07 +0000 (01:17 +0000)
commitac33a207b13a70bbca6e58094e28bd92b9fc1ff3
treed362fbcb83e9490be672e2cd74c0f50ae1dbaa2e
parent91d1cfa8779e1929167a7cf1e5825462af7d6e4a
fbdev: sh_mobile_lcdc: Fix vertical panning step

Commit 15dede882e564601947f2ce4b647742c0351be6d added support for
horizontal panning but accidentally computes the Y pan step value
incorrectly for NV12/21 and NV16/61 formats. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/sh_mobile_lcdcfb.c