summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-04-05 10:09:55 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 09:04:21 -0300
commit8b8470fdf4ce059460ffc6dd54a350df9ac87ad3 (patch)
tree3b4320e11b10eed59274165cc20f59c1d2dbe67d /drivers/media/v4l2-core
parentfb2be08f8cb332ef142314cc58a0f9e68406588c (diff)
[media] coda/imx-vdoa: always wait for job completion
As long as only one CODA context is running we get alternating device_run() and wait_for_completion() calls, but when more then one CODA context is active, other VDOA slots can be inserted between those calls for one context. Make sure to wait on job completion before running a different context and before destroying the currently active context. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/v4l2-core')
0 files changed, 0 insertions, 0 deletions