media: coda: wake up capture queue on encoder stop after output streamoff
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 17 Jul 2017 10:43:15 +0000 (06:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:21:45 +0000 (15:21 -0400)
commit8056402c54dcc7fcae48e28e51af3ca07f9480ff
treeef25547fdc99fd08efe225adf8a6b5ff22bc4e31
parentbe7f1ab26f42706ced959db96380cee2457f4378
media: coda: wake up capture queue on encoder stop after output streamoff

If an encoder stop command is issued after the output queue has already
stopped streaming, the qsequence counter has been reset to 0. Always
wake up the capture queue if the output queue is not streaming.

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@s-opensource.com>
drivers/media/platform/coda/coda-common.c