Commit 87fad38e authored by Erik Andrén's avatar Erik Andrén Committed by Mauro Carvalho Chehab

V4L/DVB (12990): gspca - m5602-ov7660: Don't set blue and red gain during init

Don't set blue and red gain during init as we manuall set it later
Signed-off-by: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b5b93844
...@@ -161,8 +161,6 @@ static const unsigned char init_ov7660[][4] = ...@@ -161,8 +161,6 @@ static const unsigned char init_ov7660[][4] =
{BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, {BRIDGE, M5602_XB_GPIO_EN_L, 0x00},
{SENSOR, OV7660_COM7, 0x80}, {SENSOR, OV7660_COM7, 0x80},
{SENSOR, OV7660_CLKRC, 0x80}, {SENSOR, OV7660_CLKRC, 0x80},
{SENSOR, OV7660_BLUE_GAIN, 0x80},
{SENSOR, OV7660_RED_GAIN, 0x80},
{SENSOR, OV7660_COM9, 0x4c}, {SENSOR, OV7660_COM9, 0x4c},
{SENSOR, OV7660_OFON, 0x43}, {SENSOR, OV7660_OFON, 0x43},
{SENSOR, OV7660_COM12, 0x28}, {SENSOR, OV7660_COM12, 0x28},
...@@ -216,8 +214,6 @@ static const unsigned char init_ov7660[][4] = ...@@ -216,8 +214,6 @@ static const unsigned char init_ov7660[][4] =
{BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, {BRIDGE, M5602_XB_HSYNC_PARA, 0x02},
{BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, {BRIDGE, M5602_XB_HSYNC_PARA, 0xae},
{BRIDGE, M5602_XB_SIG_INI, 0x00}, {BRIDGE, M5602_XB_SIG_INI, 0x00},
{SENSOR, OV7660_BLUE_GAIN, 0x80},
{SENSOR, OV7660_RED_GAIN, 0x80},
{BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02}, {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02},
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
{SENSOR, OV7660_AECH, 0x20}, {SENSOR, OV7660_AECH, 0x20},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment