Re: [PATCH 3/3] [media] coda/imx-vdoa: always wait for job completion

2017-04-05 Thread Philipp Zabel
On Wed, 2017-04-05 at 15:09 +0200, Lucas Stach wrote: > 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

[PATCH 3/3] [media] coda/imx-vdoa: always wait for job completion

2017-04-05 Thread Lucas Stach
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