[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: Katsuya Matsubara <matsu@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Katsuya Matsubara 2013-04-23 07:51:35 -03:00 committed by Mauro Carvalho Chehab
parent 560dde24ad
commit 9166e1aae3

View file

@ -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)