Reapply "media: v4l: Use interruptible waits"
This reverts commit 1d724a61ea
.
This commit is contained in:
parent
eb0ca57e21
commit
0a8f9b7b96
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ static void v4l2_m2m_cancel_job(struct v4l2_m2m_ctx *m2m_ctx)
|
|||
if (m2m_dev->m2m_ops->job_abort)
|
||||
m2m_dev->m2m_ops->job_abort(m2m_ctx->priv);
|
||||
dprintk("m2m_ctx %p running, will wait to complete\n", m2m_ctx);
|
||||
wait_event(m2m_ctx->finished,
|
||||
wait_event_interruptible(m2m_ctx->finished,
|
||||
!(m2m_ctx->job_flags & TRANS_RUNNING));
|
||||
} else if (m2m_ctx->job_flags & TRANS_QUEUED) {
|
||||
list_del(&m2m_ctx->queue);
|
||||
|
|
Loading…
Add table
Reference in a new issue