Skip to content

Commit

Permalink
[media] sh_veu: invoke v4l2_m2m_job_finish() even if a job has been a…
Browse files Browse the repository at this point in the history
…borted

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>
  • Loading branch information
Katsuya Matsubara authored and Mauro Carvalho Chehab committed Jun 9, 2013
1 parent 560dde2 commit 9166e1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/media/platform/sh_veu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9166e1a

Please sign in to comment.