V4L/DVB (12989): gspca - m5602-ov7660: Don't set gain during init

We manually set the gain later, no need to do it during init

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Erik Andrén 2009-06-26 09:21:46 -03:00 committed by Mauro Carvalho Chehab
parent eb3678fbe5
commit b5b93844ac

View File

@ -222,7 +222,6 @@ static const unsigned char init_ov7660[][4] =
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
{SENSOR, OV7660_AECH, 0x20}, {SENSOR, OV7660_AECH, 0x20},
{SENSOR, OV7660_COM1, 0x00}, {SENSOR, OV7660_COM1, 0x00},
{SENSOR, OV7660_GAIN, 0x07},
{SENSOR, OV7660_OFON, 0x0c}, {SENSOR, OV7660_OFON, 0x0c},
{SENSOR, OV7660_COM2, 0x11}, {SENSOR, OV7660_COM2, 0x11},
{SENSOR, OV7660_COM7, 0x05}, {SENSOR, OV7660_COM7, 0x05},
@ -267,7 +266,6 @@ static const unsigned char init_ov7660[][4] =
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
{SENSOR, OV7660_AECH, 0x5f}, {SENSOR, OV7660_AECH, 0x5f},
{SENSOR, OV7660_COM1, 0x03}, {SENSOR, OV7660_COM1, 0x03},
{SENSOR, OV7660_GAIN, 0x02},
{SENSOR, OV7660_OFON, 0x0c}, {SENSOR, OV7660_OFON, 0x0c},
{SENSOR, OV7660_COM2, 0x11}, {SENSOR, OV7660_COM2, 0x11},
{SENSOR, OV7660_COM7, 0x05}, {SENSOR, OV7660_COM7, 0x05},