OSDN Git Service

V4L/DVB (12989): gspca - m5602-ov7660: Don't set gain during init
authorErik Andrén <erik.andren@gmail.com>
Fri, 26 Jun 2009 12:21:46 +0000 (09:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:17:47 +0000 (00:17 -0300)
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>
drivers/media/video/gspca/m5602/m5602_ov7660.h

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