Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343833
b: refs/heads/master
c: eda9471
h: refs/heads/master
i:
  343831: 820e49d
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 1e350e6 commit 8940dd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 0dc6eb9ffcd350453eef91f790e81e042e183cfe
refs/heads/master: eda94710d6502672c5ee7de198fa78a63ddfae3a
6 changes: 5 additions & 1 deletion trunk/drivers/media/usb/pwc/pwc-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,11 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
pdev->vb_queue.buf_struct_size = sizeof(struct pwc_frame_buf);
pdev->vb_queue.ops = &pwc_vb_queue_ops;
pdev->vb_queue.mem_ops = &vb2_vmalloc_memops;
vb2_queue_init(&pdev->vb_queue);
rc = vb2_queue_init(&pdev->vb_queue);
if (rc < 0) {
PWC_ERROR("Oops, could not initialize vb2 queue.\n");
goto err_free_mem;
}

/* Init video_device structure */
memcpy(&pdev->vdev, &pwc_template, sizeof(pwc_template));
Expand Down

0 comments on commit 8940dd0

Please sign in to comment.