media: coda: reuse coda_s_fmt_vid_cap to propagate format in coda_s_fmt_vid_out
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 27 Apr 2018 16:19:15 +0000 (12:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 20:20:55 +0000 (16:20 -0400)
commit6dc8c1159ceae9c4101ebaa5d785847de14f35f3
treea066db3d42f9ec3e284c652a059116de41650f96
parent0bade8b54395200b6a08e143e2bdc5b992f883e7
media: coda: reuse coda_s_fmt_vid_cap to propagate format in coda_s_fmt_vid_out

Instead of duplicating the same code, call into coda_s_fmt_vid_out to
propagate the output format to the capture queue.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c