aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Andr?n <erik.andren@gmail.com>2009-01-20 12:55:53 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:36 -0400
commit2286745de7b7608b7eb0a899737a7c23ec99b872 (patch)
tree6389d1be8827d66a27363cd98128b58ae19c12a1
parent00e02567950c9061b8f8d3ba46a842d4006fec8e (diff)
V4L/DVB (11548): gspca - m5602-s5k83a: No need to initialize some registers in init
s5k83a: All v4l2 ctrls are initialized later, no need to set those registers during init. Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/m5602/m5602_s5k83a.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k83a.h b/drivers/media/video/gspca/m5602/m5602_s5k83a.h
index e939385322a9..3bda16996da1 100644
--- a/drivers/media/video/gspca/m5602/m5602_s5k83a.h
+++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.h
@@ -368,24 +368,6 @@ static const unsigned char init_s5k83a[][4] =
368 /* normal colors 368 /* normal colors
369 (this is value after boot, but after tries can be different) */ 369 (this is value after boot, but after tries can be different) */
370 {SENSOR, 0x00, 0x06, 0x00}, 370 {SENSOR, 0x00, 0x06, 0x00},
371
372 /* set default gain */
373 {SENSOR_LONG, 0x14, 0x00, 0x20},
374 {SENSOR_LONG, 0x0d, 0x01, 0x00},
375 {SENSOR_LONG, 0x1b, S5K83A_DEFAULT_GAIN >> 3,
376 S5K83A_DEFAULT_GAIN >> 1},
377
378 /* set default brightness */
379 {SENSOR, S5K83A_BRIGHTNESS, S5K83A_DEFAULT_BRIGHTNESS, 0x00},
380
381 /* set default exposure */
382 {SENSOR_LONG, 0x18, 0x00, S5K83A_DEFAULT_EXPOSURE},
383
384 /* set default flip */
385 {SENSOR, S5K83A_PAGE_MAP, 0x05, 0x00},
386 {SENSOR, S5K83A_FLIP, 0x00 | S5K83A_FLIP_MASK, 0x00},
387 {SENSOR, S5K83A_HFLIP_TUNE, 0x0b, 0x00},
388 {SENSOR, S5K83A_VFLIP_TUNE, 0x0a, 0x00}
389}; 371};
390 372
391#endif 373#endif