Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295008
b: refs/heads/master
c: 665ad8a
h: refs/heads/master
v: v3
  • Loading branch information
Javier Martin authored and Mauro Carvalho Chehab committed Mar 8, 2012
1 parent bfc35be commit 255b929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8636ead8b2d738b5b1b9a0c2e6070e3458a47d14
refs/heads/master: 665ad8af8f93ed9b54e99f37e24def6f623698c6
7 changes: 5 additions & 2 deletions trunk/drivers/media/video/mx2_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,11 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)
if (list_empty(&pcdev->active_bufs)) {
dev_warn(pcdev->dev, "%s: called while active list is empty\n",
__func__);
goto irq_ok;

if (!status) {
spin_unlock(&pcdev->lock);
return IRQ_NONE;
}
}

if (status & (1 << 7)) { /* overflow */
Expand Down Expand Up @@ -1323,7 +1327,6 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)
mx27_camera_frame_done_emma(pcdev, 1, false);
}

irq_ok:
spin_unlock(&pcdev->lock);
writel(status, pcdev->base_emma + PRP_INTRSTATUS);

Expand Down

0 comments on commit 255b929

Please sign in to comment.