mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04: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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
83a729530a
commit
4d2096b469
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue