diff options
author | Andoni Zubimendi <andoni.zubimendi@gmail.com> | 2008-07-22 07:39:24 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-26 11:54:15 -0400 |
commit | 84754319e30a25626f6bf0d84efc7935ba1d0b3d (patch) | |
tree | 2d7f9b48b65a35d695b546de7b52994219c1ce63 /drivers/media/video | |
parent | e0a33d4d6e028bf40a18069c00884671be75c6b4 (diff) |
V4L/DVB (8457): gspca_sonixb remove some no longer needed sn9c103+ov7630 special cases
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index f8e510cfdf96..fd91f43e0786 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -195,8 +195,6 @@ static struct v4l2_pix_format sif_mode[] = { | |||
195 | .priv = 0}, | 195 | .priv = 0}, |
196 | }; | 196 | }; |
197 | 197 | ||
198 | static const __u8 probe_ov7630[] = {0x08, 0x44}; | ||
199 | |||
200 | static const __u8 initHv7131[] = { | 198 | static const __u8 initHv7131[] = { |
201 | 0x46, 0x77, 0x00, 0x04, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00, 0x00, | 199 | 0x46, 0x77, 0x00, 0x04, 0x00, 0x00, 0x00, 0x80, 0x11, 0x00, 0x00, 0x00, |
202 | 0x00, 0x00, | 200 | 0x00, 0x00, |
@@ -825,11 +823,6 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
825 | if (!sif) { | 823 | if (!sif) { |
826 | cam->cam_mode = vga_mode; | 824 | cam->cam_mode = vga_mode; |
827 | cam->nmodes = ARRAY_SIZE(vga_mode); | 825 | cam->nmodes = ARRAY_SIZE(vga_mode); |
828 | if (product == 0x60b0) { /* SN9C103 with OV7630 */ | ||
829 | /* We only have 320x240 & 640x480 */ | ||
830 | cam->cam_mode++; | ||
831 | cam->nmodes--; | ||
832 | } | ||
833 | } else { | 826 | } else { |
834 | cam->cam_mode = sif_mode; | 827 | cam->cam_mode = sif_mode; |
835 | cam->nmodes = ARRAY_SIZE(sif_mode); | 828 | cam->nmodes = ARRAY_SIZE(sif_mode); |
@@ -840,9 +833,6 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
840 | sd->autogain = AUTOGAIN_DEF; | 833 | sd->autogain = AUTOGAIN_DEF; |
841 | sd->freq = FREQ_DEF; | 834 | sd->freq = FREQ_DEF; |
842 | 835 | ||
843 | if (product == 0x60b0) /* SN9C103 with OV7630 */ | ||
844 | reg_w(gspca_dev, 0x01, probe_ov7630, sizeof probe_ov7630); | ||
845 | |||
846 | return 0; | 836 | return 0; |
847 | } | 837 | } |
848 | 838 | ||