From: Jacek Anaszewski Date: Wed, 18 Dec 2013 14:14:00 +0000 (-0300) Subject: [media] s5p-jpeg: Adjust g_volatile_ctrl callback to Exynos4x12 needs X-Git-Tag: v3.14-rc1~20^2~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303b0a96f02c35ba5dfb460dd17c7f70b9da4003;p=pandora-kernel.git [media] s5p-jpeg: Adjust g_volatile_ctrl callback to Exynos4x12 needs Whereas S5PC210 device produces decoded JPEG subsampling values that map on V4L2_JPEG_CHROMA_SUBSAMPLNG values, the Exynos4x12 device doesn't. This patch adds helper function s5p_jpeg_to_user_subsampling, which performs suitable translation. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park Acked-by: Hans Verkuil Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed