media: coda: do not try to propagate format if capture queue busy
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 27 Apr 2018 16:19:16 +0000 (12:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 20:22:52 +0000 (16:22 -0400)
commit0f8529fd07f423786d5b83183ad3256424a176fa
treea27962fcbcf001311de29177dc760d6b2e40b8d7
parent6dc8c1159ceae9c4101ebaa5d785847de14f35f3
media: coda: do not try to propagate format if capture queue busy

The driver helpfully resets the capture queue format and selection
rectangle whenever output format is changed. This only works while
the capture queue is not busy.

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