V4L/DVB (12990): gspca - m5602-ov7660: Don't set blue and red gain during init
authorErik Andrén <erik.andren@gmail.com>
Fri, 26 Jun 2009 12:22:59 +0000 (09:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:17:55 +0000 (00:17 -0300)
Don't set blue and red gain during init as we manuall set it later

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 5434be60e021faf19d553f78227d6af02cec9f61..ee7c748f1e626635d048a47aedaccdda58157b1d 100644 (file)
@@ -161,8 +161,6 @@ static const unsigned char init_ov7660[][4] =
        {BRIDGE, M5602_XB_GPIO_EN_L, 0x00},
        {SENSOR, OV7660_COM7, 0x80},
        {SENSOR, OV7660_CLKRC, 0x80},
-       {SENSOR, OV7660_BLUE_GAIN, 0x80},
-       {SENSOR, OV7660_RED_GAIN, 0x80},
        {SENSOR, OV7660_COM9, 0x4c},
        {SENSOR, OV7660_OFON, 0x43},
        {SENSOR, OV7660_COM12, 0x28},
@@ -216,8 +214,6 @@ static const unsigned char init_ov7660[][4] =
        {BRIDGE, M5602_XB_HSYNC_PARA, 0x02},
        {BRIDGE, M5602_XB_HSYNC_PARA, 0xae},
        {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_CTRL, 0xb0},
        {SENSOR, OV7660_AECH, 0x20},