Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181479
b: refs/heads/master
c: eac8f5f
h: refs/heads/master
i:
  181477: a49287c
  181475: 12730ad
  181471: 83434ab
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent bdfaf78 commit 9ca3a24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: cdf955cd8e45d8279c53b47a2c0e0c5decaaca86
refs/heads/master: eac8f5fa5f5dcaf228694fe23e19b02b98e68879
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,9 @@ static int sd_config(struct gspca_dev *gspca_dev,
struct sd *sd = (struct sd *) gspca_dev;
struct cam *cam;

sd->bridge = id->driver_info >> 16;
sd->sensor = id->driver_info;

cam = &gspca_dev->cam;
if (sd->sensor == SENSOR_ADCM1700) {
cam->cam_mode = cif_mode;
Expand All @@ -1457,9 +1460,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
}
cam->npkt = 24; /* 24 packets per ISOC message */

sd->bridge = id->driver_info >> 16;
sd->sensor = id->driver_info;

sd->brightness = BRIGHTNESS_DEF;
sd->contrast = CONTRAST_DEF;
sd->colors = COLOR_DEF;
Expand Down

0 comments on commit 9ca3a24

Please sign in to comment.