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

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: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent eb3678fb
...@@ -222,7 +222,6 @@ static const unsigned char init_ov7660[][4] = ...@@ -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] = ...@@ -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},
......
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