diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2009-01-20 18:55:53 +0100 |
---|---|---|
committer | Erik Andr?n <erik.andren@gmail.com> | 2009-01-20 18:55:53 +0100 |
commit | 5b3e990d19cd5c2758ec1fa19f644e06261e3311 (patch) | |
tree | 7575736c6a058d8fdf103082bb47e7a40d2f7481 /linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h | |
parent | 7e19dbae26e6d5ad76bb919f08f650625dcc040e (diff) | |
download | mediapointer-dvb-s2-5b3e990d19cd5c2758ec1fa19f644e06261e3311.tar.gz mediapointer-dvb-s2-5b3e990d19cd5c2758ec1fa19f644e06261e3311.tar.bz2 |
gspca - m5602-s5k83a: No need to initialize some registers in init
From: Erik Andr?n <erik.andren@gmail.com>
s5k83a: All v4l2 ctrls are initialized later, no need to set those registers during init.
Priority: normal
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h index e93938532..3bda16996 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h +++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.h @@ -368,24 +368,6 @@ static const unsigned char init_s5k83a[][4] = /* normal colors (this is value after boot, but after tries can be different) */ {SENSOR, 0x00, 0x06, 0x00}, - - /* set default gain */ - {SENSOR_LONG, 0x14, 0x00, 0x20}, - {SENSOR_LONG, 0x0d, 0x01, 0x00}, - {SENSOR_LONG, 0x1b, S5K83A_DEFAULT_GAIN >> 3, - S5K83A_DEFAULT_GAIN >> 1}, - - /* set default brightness */ - {SENSOR, S5K83A_BRIGHTNESS, S5K83A_DEFAULT_BRIGHTNESS, 0x00}, - - /* set default exposure */ - {SENSOR_LONG, 0x18, 0x00, S5K83A_DEFAULT_EXPOSURE}, - - /* set default flip */ - {SENSOR, S5K83A_PAGE_MAP, 0x05, 0x00}, - {SENSOR, S5K83A_FLIP, 0x00 | S5K83A_FLIP_MASK, 0x00}, - {SENSOR, S5K83A_HFLIP_TUNE, 0x0b, 0x00}, - {SENSOR, S5K83A_VFLIP_TUNE, 0x0a, 0x00} }; #endif |