Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106715
b: refs/heads/master
c: 8475431
h: refs/heads/master
i:
  106713: b38ff5d
  106711: 32028ca
v: v3
  • Loading branch information
Andoni Zubimendi authored and Mauro Carvalho Chehab committed Jul 26, 2008
1 parent edb9daf commit 1b4c4ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: e0a33d4d6e028bf40a18069c00884671be75c6b4
refs/heads/master: 84754319e30a25626f6bf0d84efc7935ba1d0b3d
10 changes: 0 additions & 10 deletions trunk/drivers/media/video/gspca/sonixb.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ static struct v4l2_pix_format sif_mode[] = {
.priv = 0},
};

static const __u8 probe_ov7630[] = {0x08, 0x44};

static const __u8 initHv7131[] = {
0x46, 0x77, 0x00, 0x04, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00, 0x00,
0x00, 0x00,
Expand Down Expand Up @@ -825,11 +823,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
if (!sif) {
cam->cam_mode = vga_mode;
cam->nmodes = ARRAY_SIZE(vga_mode);
if (product == 0x60b0) { /* SN9C103 with OV7630 */
/* We only have 320x240 & 640x480 */
cam->cam_mode++;
cam->nmodes--;
}
} else {
cam->cam_mode = sif_mode;
cam->nmodes = ARRAY_SIZE(sif_mode);
Expand All @@ -840,9 +833,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
sd->autogain = AUTOGAIN_DEF;
sd->freq = FREQ_DEF;

if (product == 0x60b0) /* SN9C103 with OV7630 */
reg_w(gspca_dev, 0x01, probe_ov7630, sizeof probe_ov7630);

return 0;
}

Expand Down

0 comments on commit 1b4c4ad

Please sign in to comment.