[media] coda: call SEQ_END when the first queue is stopped
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 24 Mar 2015 17:30:56 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:10:21 +0000 (10:10 -0300)
commit5c76c2c3e2783886975ff536c50d9c446e0ecb6e
tree71ba900e2f3acad5ddb55181a200db8f0d7b28da
parent23b6ee5cd9d99d9d99d92ff923d6971a33dc7b03
[media] coda: call SEQ_END when the first queue is stopped

This allows to stop and restart the output queue to start a new sequence
while keeping the capture queue running. Before, sequence end would only
be issued if both output and capture queue were stopped and the sequence
start issued when reenabling the output queue would fail.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c