diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-if.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index 5ec15cb1ed26..77bbf7889659 100644 --- a/drivers/media/usb/pwc/pwc-if.c +++ b/drivers/media/usb/pwc/pwc-if.c | |||
@@ -1001,6 +1001,7 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
1001 | pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf); | 1001 | pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf); |
1002 | pdev->vb_queue.ops = &pwc_vb_queue_ops; | 1002 | pdev->vb_queue.ops = &pwc_vb_queue_ops; |
1003 | pdev->vb_queue.mem_ops = &vb2_vmalloc_memops; | 1003 | pdev->vb_queue.mem_ops = &vb2_vmalloc_memops; |
1004 | pdev->vb_queue.timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; | ||
1004 | rc = vb2_queue_init(&pdev->vb_queue); | 1005 | rc = vb2_queue_init(&pdev->vb_queue); |
1005 | if (rc < 0) { | 1006 | if (rc < 0) { |
1006 | PWC_ERROR("Oops, could not initialize vb2 queue.\n"); | 1007 | PWC_ERROR("Oops, could not initialize vb2 queue.\n"); |