Commit 4d2096b4 authored by Philipp Zabel's avatar Philipp Zabel Committed by Mauro Carvalho Chehab

media: coda: clear hold flag on streamoff

If new buffers are queued after streamoff, the flag will be cleared
anyway, so this is mostly for the purpose of correctness.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 83a72953
...@@ -1703,6 +1703,7 @@ static void coda_stop_streaming(struct vb2_queue *q) ...@@ -1703,6 +1703,7 @@ static void coda_stop_streaming(struct vb2_queue *q)
ctx->bitstream.vaddr, ctx->bitstream.size); ctx->bitstream.vaddr, ctx->bitstream.size);
ctx->runcounter = 0; ctx->runcounter = 0;
ctx->aborting = 0; ctx->aborting = 0;
ctx->hold = false;
} }
if (!ctx->streamon_out && !ctx->streamon_cap) if (!ctx->streamon_out && !ctx->streamon_cap)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment