mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
[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>
This commit is contained in:
parent
1190a419e0
commit
f3497dad92
@ -907,6 +907,8 @@ static int coda_decoder_cmd(struct file *file, void *fh,
|
|||||||
/* If this context is currently running, update the hardware flag */
|
/* If this context is currently running, update the hardware flag */
|
||||||
coda_write(dev, ctx->bit_stream_param, CODA_REG_BIT_BIT_STREAM_PARAM);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user