aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mx1_camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/mx1_camera.c')
-rw-r--r--drivers/media/video/mx1_camera.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/mx1_camera.c b/drivers/media/video/mx1_camera.c
index 5e486a88ad7c..bc0c23a1009c 100644
--- a/drivers/media/video/mx1_camera.c
+++ b/drivers/media/video/mx1_camera.c
@@ -382,10 +382,9 @@ static void mx1_camera_init_videobuf(struct videobuf_queue *q,
382 struct mx1_camera_dev *pcdev = ici->priv; 382 struct mx1_camera_dev *pcdev = ici->priv;
383 383
384 videobuf_queue_dma_contig_init(q, &mx1_videobuf_ops, icd->dev.parent, 384 videobuf_queue_dma_contig_init(q, &mx1_videobuf_ops, icd->dev.parent,
385 &pcdev->lock, 385 &pcdev->lock, V4L2_BUF_TYPE_VIDEO_CAPTURE,
386 V4L2_BUF_TYPE_VIDEO_CAPTURE, 386 V4L2_FIELD_NONE,
387 V4L2_FIELD_NONE, 387 sizeof(struct mx1_buffer), icd, &icd->video_lock);
388 sizeof(struct mx1_buffer), icd, NULL);
389} 388}
390 389
391static int mclk_get_divisor(struct mx1_camera_dev *pcdev) 390static int mclk_get_divisor(struct mx1_camera_dev *pcdev)