From: John Sheu Date: Tue, 3 Sep 2013 11:26:42 +0000 (-0300) Subject: [media] s5p-mfc: Fix input/output format reporting X-Git-Tag: v3.12-rc1~135^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19c2813c2882c7ecc6e1e8813f54ace495cfbe9a;p=pandora-kernel.git [media] s5p-mfc: Fix input/output format reporting The video encode/decode paths have duplicated logic between VIDIOC_TRY_FMT and VIDIOC_S_FMT that should be de-duped. Also, video decode reports V4L2_PIX_FMT_NV12MT_16X16 output format, regardless of what the actual output has been set at. Fix this. Signed-off-by: John Sheu Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab Cc: stable@vger.kernel.org --- Reading git-diff-tree failed