aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index f5dab675c96c..330dadc00106 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -321,6 +321,7 @@ static const __u32 ctrl_dis[] = {
321[SENSOR_PO2030N] = (1 << AUTOGAIN) | 321[SENSOR_PO2030N] = (1 << AUTOGAIN) |
322 (1 << INFRARED) | 322 (1 << INFRARED) |
323 (1 << FREQ), 323 (1 << FREQ),
324
324[SENSOR_SOI768] = (1 << AUTOGAIN) | 325[SENSOR_SOI768] = (1 << AUTOGAIN) |
325 (1 << INFRARED) | 326 (1 << INFRARED) |
326 (1 << HFLIP) | 327 (1 << HFLIP) |
@@ -1712,7 +1713,6 @@ static void ov7648_probe(struct gspca_dev *gspca_dev)
1712 sd->sensor = SENSOR_PO1030; 1713 sd->sensor = SENSOR_PO1030;
1713 return; 1714 return;
1714 } 1715 }
1715
1716 err("Unknown sensor %04x", val); 1716 err("Unknown sensor %04x", val);
1717} 1717}
1718 1718
@@ -2678,7 +2678,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
2678 break; 2678 break;
2679 } 2679 }
2680 2680
2681
2682 /* here change size mode 0 -> VGA; 1 -> CIF */ 2681 /* here change size mode 0 -> VGA; 1 -> CIF */
2683 sd->reg18 = sn9c1xx[0x18] | (mode << 4) | 0x40; 2682 sd->reg18 = sn9c1xx[0x18] | (mode << 4) | 0x40;
2684 reg_w1(gspca_dev, 0x18, sd->reg18); 2683 reg_w1(gspca_dev, 0x18, sd->reg18);