Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211340
b: refs/heads/master
c: 5384a12
h: refs/heads/master
v: v3
  • Loading branch information
Baruch Siach authored and Mauro Carvalho Chehab committed Sep 28, 2010
1 parent 94cabae commit 2244b9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b376dac05058ac5c9616a507d95c19ea5ea2646
refs/heads/master: 5384a12b23160e11ff949a94172051476d308b66
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/mx2_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ static void mx25_camera_frame_done(struct mx2_camera_dev *pcdev, int fb,

spin_lock_irqsave(&pcdev->lock, flags);

if (*fb_active == NULL)
goto out;

vb = &(*fb_active)->vb;
dev_dbg(pcdev->dev, "%s (vb=0x%p) 0x%08lx %d\n", __func__,
vb, vb->baddr, vb->bsize);
Expand All @@ -402,6 +405,7 @@ static void mx25_camera_frame_done(struct mx2_camera_dev *pcdev, int fb,

*fb_active = buf;

out:
spin_unlock_irqrestore(&pcdev->lock, flags);
}

Expand Down

0 comments on commit 2244b9b

Please sign in to comment.