mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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: 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>
This commit is contained in:
parent
83a729530a
commit
4d2096b469
@ -1703,6 +1703,7 @@ static void coda_stop_streaming(struct vb2_queue *q)
|
||||
ctx->bitstream.vaddr, ctx->bitstream.size);
|
||||
ctx->runcounter = 0;
|
||||
ctx->aborting = 0;
|
||||
ctx->hold = false;
|
||||
}
|
||||
|
||||
if (!ctx->streamon_out && !ctx->streamon_cap)
|
||||
|
Loading…
Reference in New Issue
Block a user