media: platform: video-mux: propagate format from sink to source
authorChris Lesiak <chris.lesiak@licor.com>
Tue, 3 Apr 2018 19:50:22 +0000 (15:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 19:56:15 +0000 (15:56 -0400)
commitfd32d5349653139c90485dc1afe902ffe1bfdeb8
tree6f7a129bab592229200317e184cbfa9d17e0d0d0
parent65dc760bb4de0824fad971d265dc9e12ef9e673e
media: platform: video-mux: propagate format from sink to source

Propagate the v4l2_mbus_framefmt to the source pad when either a sink
pad is activated or when the format of the active sink pad changes.

Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/video-mux.c