diff options
author | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-07-22 13:39:24 +0200 |
---|---|---|
committer | hans@localhost.localdomain <hans@localhost.localdomain> | 2008-07-22 13:39:24 +0200 |
commit | ed2a63fee50e44cb3232a0d1b3a84c13ca7dfb96 (patch) | |
tree | 5ec2e0b01a0257a22e0b334148d002b3674594bf /linux/drivers/media/video/gspca/sonixb.c | |
parent | e356bb63e6e5be00ec1eada0da9960088c15c564 (diff) | |
download | mediapointer-dvb-s2-ed2a63fee50e44cb3232a0d1b3a84c13ca7dfb96.tar.gz mediapointer-dvb-s2-ed2a63fee50e44cb3232a0d1b3a84c13ca7dfb96.tar.bz2 |
gspca_sonixb remove some no longer needed sn9c103+ov7630 special cases
From: Andoni Zubimendi <andoni.zubimendi@gmail.com>
gspca_sonixb remove some no longer needed sn9c103+ov7630 special cases
Signed-off-by: Andoni Zubimendi <andoni.zubimendi@gmail.com>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'linux/drivers/media/video/gspca/sonixb.c')
-rw-r--r-- | linux/drivers/media/video/gspca/sonixb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/drivers/media/video/gspca/sonixb.c b/linux/drivers/media/video/gspca/sonixb.c index ff33621b5..aaf93e2d6 100644 --- a/linux/drivers/media/video/gspca/sonixb.c +++ b/linux/drivers/media/video/gspca/sonixb.c @@ -198,8 +198,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, @@ -861,11 +859,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); @@ -876,9 +869,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; } |