diff options
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_ov9650.c')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.c b/drivers/media/video/gspca/m5602/m5602_ov9650.c index 98c979dbbe3..2abb626c1c7 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.c +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.c | |||
@@ -163,6 +163,19 @@ int ov9650_start(struct sd *sd) | |||
163 | } | 163 | } |
164 | break; | 164 | break; |
165 | 165 | ||
166 | case 352: | ||
167 | PDEBUG(D_V4L2, "Configuring camera for CIF mode"); | ||
168 | |||
169 | for (i = 0; i < ARRAY_SIZE(CIF_ov9650) && !err; i++) { | ||
170 | u8 data = CIF_ov9650[i][2]; | ||
171 | if (CIF_ov9650[i][0] == SENSOR) | ||
172 | err = m5602_write_sensor(sd, | ||
173 | CIF_ov9650[i][1], &data, 1); | ||
174 | else | ||
175 | err = m5602_write_bridge(sd, CIF_ov9650[i][1], data); | ||
176 | } | ||
177 | break; | ||
178 | |||
166 | case 320: | 179 | case 320: |
167 | PDEBUG(D_V4L2, "Configuring camera for QVGA mode"); | 180 | PDEBUG(D_V4L2, "Configuring camera for QVGA mode"); |
168 | 181 | ||