fbdev: sh_mobile_lcdc: Fix pan offset computation in YUV mode
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 15 Mar 2012 17:15:37 +0000 (18:15 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 19 Jul 2012 10:15:26 +0000 (12:15 +0200)
commita4aa25f6e7885a42c90fe5f0a965403df6cbc943
tree6d95532f6847816084ac2087a73013d455af3362
parent8be7c66995bf06769dc4c5f7a62f3cd62a627e7e
fbdev: sh_mobile_lcdc: Fix pan offset computation in YUV mode

The chroma plane offset in memory is equal to the luma plane maximum
size. Fix offset computations.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h