Commit 9166e1aa authored by Katsuya Matsubara's avatar Katsuya Matsubara Committed by Mauro Carvalho Chehab

[media] sh_veu: invoke v4l2_m2m_job_finish() even if a job has been aborted

v4l2_m2m_job_finish() should be invoked even if the current
ongoing job has been aborted since v4l2_m2m_ctx_release() which
has issued the job abort may wait until the finish function is invoked.
Signed-off-by: default avatarKatsuya Matsubara <matsu@igel.co.jp>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 560dde24
......@@ -1138,10 +1138,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
veu->xaction++;
if (!veu->aborting)
return IRQ_WAKE_THREAD;
return IRQ_HANDLED;
return IRQ_WAKE_THREAD;
}
static int sh_veu_probe(struct platform_device *pdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment