diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-07-09 06:10:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-17 10:15:17 -0400 |
commit | c1ae0b283d13ad8b53bf3be379b1207085da4b22 (patch) | |
tree | 3d293f723387f006b457fe1c9f45c8a78036141d /drivers/media/platform/coda | |
parent | 5c718bb323aef02ea580073a3640b072fb2f6838 (diff) |
[media] coda: reset stream end in stop_streaming
Otherwise a restarted stream won't queue buffers.
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@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/coda')
-rw-r--r-- | drivers/media/platform/coda/coda-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index de0e24533727..8b91bda784a7 100644 --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c | |||
@@ -1378,6 +1378,9 @@ static void coda_stop_streaming(struct vb2_queue *q) | |||
1378 | ctx->runcounter = 0; | 1378 | ctx->runcounter = 0; |
1379 | ctx->aborting = 0; | 1379 | ctx->aborting = 0; |
1380 | } | 1380 | } |
1381 | |||
1382 | if (!ctx->streamon_out && !ctx->streamon_cap) | ||
1383 | ctx->bit_stream_param &= ~CODA_BIT_STREAM_END_FLAG; | ||
1381 | } | 1384 | } |
1382 | 1385 | ||
1383 | static const struct vb2_ops coda_qops = { | 1386 | static const struct vb2_ops coda_qops = { |