aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/mars.c')
-rw-r--r--drivers/media/video/gspca/mars.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c
index 48b861d68299..d8cd2148f301 100644
--- a/drivers/media/video/gspca/mars.c
+++ b/drivers/media/video/gspca/mars.c
@@ -220,13 +220,15 @@ static void sd_start(struct gspca_dev *gspca_dev)
220 if (0) { /* fixed dark-gain */ 220 if (0) { /* fixed dark-gain */
221 data[1] = 0; /* reg 94, Y Gain (1.75) */ 221 data[1] = 0; /* reg 94, Y Gain (1.75) */
222 data[2] = 0; /* reg 95, UV Gain (1.75) */ 222 data[2] = 0; /* reg 95, UV Gain (1.75) */
223 data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */ 223 data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable
224 * auto dark-gain */
224 data[4] = 0; /* reg 97, set fixed dark level */ 225 data[4] = 0; /* reg 97, set fixed dark level */
225 data[5] = 0; /* reg 98, don't care */ 226 data[5] = 0; /* reg 98, don't care */
226 } else { /* auto dark-gain */ 227 } else { /* auto dark-gain */
227 data[1] = 0; /* reg 94, Y Gain (auto) */ 228 data[1] = 0; /* reg 94, Y Gain (auto) */
228 data[2] = 0; /* reg 95, UV Gain (1.75) */ 229 data[2] = 0; /* reg 95, UV Gain (1.75) */
229 data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */ 230 data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable
231 * auto dark-gain */
230 switch (gspca_dev->width) { 232 switch (gspca_dev->width) {
231/* case 1280: */ 233/* case 1280: */
232/* data[4] = 154; 234/* data[4] = 154;