Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161610
b: refs/heads/master
c: ae310ee
h: refs/heads/master
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 790125a commit 4e12b35
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 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: 0ee7e4d6d4f58c3b2d9f0ca8ad8f63abda8694b1
refs/heads/master: ae310ee1090113edeb46dfb6f07ab125046ec50c
23 changes: 12 additions & 11 deletions trunk/drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2937,21 +2937,22 @@ static int sd_start(struct gspca_dev *gspca_dev)
put_tab_to_reg(gspca_dev, MatrixT, 9, 0xb82c);

/* set the led on 0x0892 0x0896 */
if (sd->sensor == SENSOR_PO1200) {
setsharpness(gspca_dev);
sethvflip(gspca_dev);
switch (sd->sensor) {
case SENSOR_PO1200:
case SENSOR_HV7131R:
reg_w(gspca_dev->dev, 0x89, 0x0400, 0x1415);
} else if (sd->sensor == SENSOR_MI1310_SOC) {
break;
case SENSOR_MI1310_SOC:
reg_w(gspca_dev->dev, 0x89, 0x058c, 0x0000);
msleep(100);
sethvflip(gspca_dev);
setlightfreq(gspca_dev);
} else {
break;
default:
reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff);
msleep(100);
sethvflip(gspca_dev);
setlightfreq(gspca_dev);
break;
}
msleep(100);
setsharpness(gspca_dev);
sethvflip(gspca_dev);
setlightfreq(gspca_dev);
}
return 0;
}
Expand Down

0 comments on commit 4e12b35

Please sign in to comment.