diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-06-17 12:01:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:16:47 -0400 |
commit | a94e2f2cb91678f106fb31e6fa58b7af451a42e9 (patch) | |
tree | 44824bd8ae26f42901f4691d2c711dd21306a2ce /drivers/media/video/gspca/m5602 | |
parent | 68fdb7a5b52cb060f7824f9d6e98e105af36a474 (diff) |
V4L/DVB (12979): gspca - m5602-ov7660: Ensure that the default exposure is set
Ensure that the default exposure value is set at startup
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/m5602')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index d2589d654a19..8027b64b7d5b 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h | |||
@@ -218,7 +218,6 @@ static const unsigned char init_ov7660[][4] = | |||
218 | {SENSOR, OV7660_RSVD29, 0x98}, | 218 | {SENSOR, OV7660_RSVD29, 0x98}, |
219 | {SENSOR, OV7660_RBIAS, 0x98}, | 219 | {SENSOR, OV7660_RBIAS, 0x98}, |
220 | {SENSOR, OV7660_COM1, 0x00}, | 220 | {SENSOR, OV7660_COM1, 0x00}, |
221 | {SENSOR, OV7660_AECH, 0x00}, | ||
222 | {SENSOR, OV7660_AECHH, 0x00}, | 221 | {SENSOR, OV7660_AECHH, 0x00}, |
223 | {SENSOR, OV7660_ADC, 0x04}, | 222 | {SENSOR, OV7660_ADC, 0x04}, |
224 | {SENSOR, OV7660_COM13, 0x00}, | 223 | {SENSOR, OV7660_COM13, 0x00}, |
@@ -257,11 +256,10 @@ static const unsigned char init_ov7660[][4] = | |||
257 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, | 256 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
258 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | 257 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
259 | 258 | ||
260 | {SENSOR, OV7660_AECH, 0x20}, | ||
261 | {SENSOR, OV7660_COM1, 0x00}, | 259 | {SENSOR, OV7660_COM1, 0x00}, |
262 | {SENSOR, OV7660_OFON, 0x0c}, | 260 | {SENSOR, OV7660_OFON, 0x0c}, |
263 | {SENSOR, OV7660_COM2, 0x11}, | 261 | {SENSOR, OV7660_COM2, 0x11}, /* Soft sleep, 2x Drive */ |
264 | {SENSOR, OV7660_COM7, 0x05}, | 262 | {SENSOR, OV7660_COM7, 0x05}, /* Raw RGB */ |
265 | 263 | ||
266 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, | 264 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
267 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, | 265 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, |