diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-07-11 11:36:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-22 17:07:27 +0200 |
commit | f3497dad92cf2bf713b31b05c6b504a1135cc97c (patch) | |
tree | e610d476384da87a1257da915c8b02f6c0294fe5 /drivers/media/platform | |
parent | [media] v4l2-mem2mem: export v4l2_m2m_try_schedule (diff) | |
download | linux-f3497dad92cf2bf713b31b05c6b504a1135cc97c.tar.xz linux-f3497dad92cf2bf713b31b05c6b504a1135cc97c.zip |
[media] coda: try to schedule a decode run after a stop command
In case no further buffers are queued after the stop command, restart
job scheduling explicitly.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/coda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 43349d94c93e..4ce17ac15fa0 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -907,6 +907,8 @@ static int coda_decoder_cmd(struct file *file, void *fh, /* If this context is currently running, update the hardware flag */ coda_write(dev, ctx->bit_stream_param, CODA_REG_BIT_BIT_STREAM_PARAM); } + ctx->prescan_failed = false; + v4l2_m2m_try_schedule(ctx->fh.m2m_ctx); return 0; } |