Skip to content

Commit 9166e1a

Browse files
Katsuya MatsubaraMauro Carvalho Chehab
authored andcommitted
[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 <[email protected]> Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 560dde2 commit 9166e1a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/media/platform/sh_veu.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,10 +1138,7 @@ static irqreturn_t sh_veu_isr(int irq, void *dev_id)
11381138

11391139
veu->xaction++;
11401140

1141-
if (!veu->aborting)
1142-
return IRQ_WAKE_THREAD;
1143-
1144-
return IRQ_HANDLED;
1141+
return IRQ_WAKE_THREAD;
11451142
}
11461143

11471144
static int sh_veu_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)