[media] v4l: s5p-mfc: Fix default pixel format selection for decoder
authorKamil Debski <k.debski@samsung.com>
Fri, 16 May 2014 12:03:43 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 18:31:23 +0000 (15:31 -0300)
commit264e5bacb38067a07956b120569f009e75449f9f
tree48dec0311df07c650681b9e9ca0ba4d62139b6b7
parent109b794c87487f3cb9da77b8252f4edb1a428217
[media] v4l: s5p-mfc: Fix default pixel format selection for decoder

The patch adding the v6 version of MFC changed the default format for
the CAPTURE queue, but this also affects the v5 version. This patch
solves this problem by checking the MFC version before assigning the
default format.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c