Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222067
b: refs/heads/master
c: 8c66cae
h: refs/heads/master
i:
  222065: c891a28
  222063: efd33ed
v: v3
  • Loading branch information
Janusz Krzysztofik authored and Mauro Carvalho Chehab committed Nov 9, 2010
1 parent 77f809d commit 919eb83
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 352f5d250ad395c678eebb2c9e1ad8b06114c6e9
refs/heads/master: 8c66caebdace925f19fcfd2d1f026044c3995c4b
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/omap1_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static void free_buffer(struct videobuf_queue *vq, struct omap1_cam_buf *buf,

BUG_ON(in_interrupt());

videobuf_waiton(vb, 0, 0);
videobuf_waiton(vq, vb, 0, 0);

if (vb_mode == OMAP1_CAM_DMA_CONTIG) {
videobuf_dma_contig_free(vq, vb);
Expand Down Expand Up @@ -1365,12 +1365,12 @@ static void omap1_cam_init_videobuf(struct videobuf_queue *q,
videobuf_queue_dma_contig_init(q, &omap1_videobuf_ops,
icd->dev.parent, &pcdev->lock,
V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FIELD_NONE,
sizeof(struct omap1_cam_buf), icd);
sizeof(struct omap1_cam_buf), icd, NULL);
else
videobuf_queue_sg_init(q, &omap1_videobuf_ops,
icd->dev.parent, &pcdev->lock,
V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FIELD_NONE,
sizeof(struct omap1_cam_buf), icd);
sizeof(struct omap1_cam_buf), icd, NULL);

/* use videobuf mode (auto)selected with the module parameter */
pcdev->vb_mode = sg_mode ? OMAP1_CAM_DMA_SG : OMAP1_CAM_DMA_CONTIG;
Expand Down

0 comments on commit 919eb83

Please sign in to comment.