Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109535
b: refs/heads/master
c: 759aa3c
h: refs/heads/master
i:
  109533: 6c98254
  109531: 8dc2ee1
  109527: 4e83fde
  109519: 7864b69
  109503: 00be7dd
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Sep 3, 2008
1 parent 9a597ed commit bbda964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 4a18625e88efef2b5a21695edcb2b21d98fdf71b
refs/heads/master: 759aa3c21ebbab6cc00fc4aebd09b3a7d63715d1
6 changes: 2 additions & 4 deletions trunk/drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ struct sd {
#define SENSOR_OV7648 5
#define SENSOR_OV7660 6
unsigned char i2c_base;
__u8 regf1;
};

/* V4L2 controls supported by the driver */
Expand Down Expand Up @@ -929,7 +928,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
sd->bridge = id->driver_info >> 16;
sd->sensor = id->driver_info >> 8;
sd->i2c_base = id->driver_info;
sd->regf1 = 0; /*jfm: was 1 in v1*/

sd->qindex = 4; /* set the quantization table */
sd->brightness = BRIGHTNESS_DEF;
Expand Down Expand Up @@ -982,7 +980,7 @@ static int sd_open(struct gspca_dev *gspca_dev)
break;
}

reg_w1(gspca_dev, 0xf1, sd->regf1);
reg_w1(gspca_dev, 0xf1, 0x01);

return 0;
}
Expand Down Expand Up @@ -1346,7 +1344,7 @@ static void sd_stopN(struct gspca_dev *gspca_dev)
reg_w1(gspca_dev, 0x17, sn9c1xx[0x17]);
reg_w1(gspca_dev, 0x01, sn9c1xx[1]);
reg_w1(gspca_dev, 0x01, data);
reg_w1(gspca_dev, 0xf1, sd->regf1);
reg_w1(gspca_dev, 0xf1, 0x00);
}

static void sd_stop0(struct gspca_dev *gspca_dev)
Expand Down

0 comments on commit bbda964

Please sign in to comment.