diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-06-18 12:45:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 14:22:08 -0400 |
commit | 7e5eaae0af2eccb7ac94eb3d958d4c052f960e7b (patch) | |
tree | b91cb844573f161362274e2b611e1b8987caff6f /CREDITS | |
parent | cce5b73265db051e3259964f2f4e3b7faa661ab8 (diff) | |
download | linux-7e5eaae0af2eccb7ac94eb3d958d4c052f960e7b.tar.bz2 |
media: coda: fix V4L2_DEC_CMD_STOP when all buffers are already consumed
When the DEC_CMD_STOP command is issued after the context has already
consumed all the queued buffers, we need to make sure to wake the
destination queue with last_buffer_dequeued set, to allow userspace to
make progress in its EOS handling.
As there might still be picture run workers pending at that point, we
need to synchronize with them, so the sequence number comparison reads
stable values.
reword commit message]
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions