media: video-mux: fix compliance failures
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 24 May 2018 14:50:44 +0000 (10:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 24 Jul 2018 21:40:40 +0000 (17:40 -0400)
commitefe1958ec41baba26e47a271b992b2bb524af61e
treeb19ede347bb82a354973f0baae0daacebb5ceb4f
parent56ab8cdbc1438507d79085fcc7e511327d84aeb8
media: video-mux: fix compliance failures

Limit frame sizes to the [1, 65536] interval, media bus formats to
the available list of formats, and initialize pad and try formats.

Reported-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Rui Miguel Silva <rui.silva@linaro.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/video-mux.c