aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/sonixj.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index fea807574425..2ccddcd710f2 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -2082,7 +2082,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
2082 reg17 = 0x64; /* 640 MCKSIZE */ 2082 reg17 = 0x64; /* 640 MCKSIZE */
2083 break; 2083 break;
2084 case SENSOR_OV7630: 2084 case SENSOR_OV7630:
2085 setvflip(sd);
2086 reg17 = 0xe2; 2085 reg17 = 0xe2;
2087 reg1 = 0x44; 2086 reg1 = 0x44;
2088 break; 2087 break;
@@ -2154,11 +2153,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
2154 reg_w1(gspca_dev, 0x17, reg17); 2153 reg_w1(gspca_dev, 0x17, reg17);
2155 reg_w1(gspca_dev, 0x01, reg1); 2154 reg_w1(gspca_dev, 0x01, reg1);
2156 2155
2157 switch (sd->sensor) { 2156 setvflip(sd);
2158 case SENSOR_OV7630:
2159 setvflip(sd);
2160 break;
2161 }
2162 setbrightness(gspca_dev); 2157 setbrightness(gspca_dev);
2163 setcontrast(gspca_dev); 2158 setcontrast(gspca_dev);
2164 setautogain(gspca_dev); 2159 setautogain(gspca_dev);