Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295007
b: refs/heads/master
c: 8636ead
h: refs/heads/master
i:
  295005: 6558a49
  295003: 7aa40d5
  294999: b2ef12f
  294991: de6e998
  294975: a53f66c
v: v3
  • Loading branch information
Javier Martin authored and Mauro Carvalho Chehab committed Mar 8, 2012
1 parent efd9f19 commit bfc35be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: a654ba16fdbad8ffb5a6c0dd5098c6651bde08b5
refs/heads/master: 8636ead8b2d738b5b1b9a0c2e6070e3458a47d14
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/mx2_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,9 +1286,8 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)
struct mx2_camera_dev *pcdev = data;
unsigned int status = readl(pcdev->base_emma + PRP_INTRSTATUS);
struct mx2_buffer *buf;
unsigned long flags;

spin_lock_irqsave(&pcdev->lock, flags);
spin_lock(&pcdev->lock);

if (list_empty(&pcdev->active_bufs)) {
dev_warn(pcdev->dev, "%s: called while active list is empty\n",
Expand Down Expand Up @@ -1325,7 +1324,7 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)
}

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

return IRQ_HANDLED;
Expand Down

0 comments on commit bfc35be

Please sign in to comment.