aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r--drivers/media/video/gspca/sonixb.c10
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
198static const __u8 probe_ov7630[] = {0x08, 0x44};
199
200static const __u8 initHv7131[] = { 198static 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