From: Sylwester Nawrocki Date: Mon, 13 Jun 2011 14:09:40 +0000 (-0300) Subject: [media] s5p-fimc: Correct color format enumeration X-Git-Tag: v3.2-rc1~112^2~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf52df8acfda9442d64ab4d3d6085877f6d88d46;p=pandora-kernel.git [media] s5p-fimc: Correct color format enumeration Replace fimc_find_format() and find_mbus_format() with single function that can return a pointer to the private format description based on fourcc, media bus code or index in the table. Create separate VIDIOC_ENUM_FMT ioctl handlers for video capture and mem-to-mem video node. This is needed because some formats are valid only for the video capture and some only for the mem-to-mem video node. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed