From: Sylwester Nawrocki Date: Fri, 11 Jan 2013 09:36:19 +0000 (-0300) Subject: [media] s5p-fimc: Fix bytesperline value for V4L2_PIX_FMT_YUV420M format X-Git-Tag: v3.9-rc1~93^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa8880bece7321d61a7a5e7bf4b67832071ee047;p=pandora-kernel.git [media] s5p-fimc: Fix bytesperline value for V4L2_PIX_FMT_YUV420M format Make sure bytesperline for Cb, Cr planes for V4L2_PIX_FMT_YUV420M format is half of the Y plane value, rather than having same bytesperline for all planes. While at it, simplify the bytesperline parameter handling by storing it when image format is set and returning those values when getting the format, instead of recalculating bytesperline from intermediate parameters. Reported-by: Sebastian Dröge Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed