Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138142
b: refs/heads/master
c: 5c8e240
h: refs/heads/master
v: v3
  • Loading branch information
Martin Fuzzey authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent ea08fd8 commit c28d559
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 76ecf4599e55fd16bdb333a737c6243105c916e6
refs/heads/master: 5c8e2403ba06d39f04f6ae62f3afe5542e0eb533
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/pwc/pwc-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ static int pwc_video_open(struct file *file)
}

mutex_lock(&pdev->modlock);
pwc_construct(pdev); /* set min/max sizes correct */
if (!pdev->usb_init) {
PWC_DEBUG_OPEN("Doing first time initialization.\n");
pdev->usb_init = 1;
Expand All @@ -1149,7 +1150,6 @@ static int pwc_video_open(struct file *file)
if (pwc_set_leds(pdev, led_on, led_off) < 0)
PWC_DEBUG_OPEN("Failed to set LED on/off time.\n");

pwc_construct(pdev); /* set min/max sizes correct */

/* So far, so good. Allocate memory. */
i = pwc_allocate_buffers(pdev);
Expand Down

0 comments on commit c28d559

Please sign in to comment.