]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[media] v4l: s5p-mfc: Limit enum_fmt to output formats of current version
authorKamil Debski <k.debski@samsung.com>
Tue, 20 May 2014 13:15:13 +0000 (10:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 18:32:50 +0000 (15:32 -0300)
commit9aa5f0087a5c2aabbce5a475309d7d5caa1fab07
treed5317f22597ff6113c0124d98907113a50f78b6a
parent264e5bacb38067a07956b120569f009e75449f9f
[media] v4l: s5p-mfc: Limit enum_fmt to output formats of current version

MFC versions support a different set of formats, this specially applies
to the raw YUV formats. This patch changes enum_fmt, so that it only
reports formats that are supported by the used MFC version.

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.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c