aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2009-06-26 08:21:46 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:17:47 -0400
commitb5b93844ace95712f88933d5f622cd5d833530c5 (patch)
tree4b77e6f0a88ebfe1d0e7d8d816ddcc563ed9773b /drivers/media/video/gspca
parenteb3678fbe5d5be8315628885b7c93228c97a433d (diff)
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>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov7660.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h
index 3360aaec257..5434be60e02 100644
--- a/drivers/media/video/gspca/m5602/m5602_ov7660.h
+++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h
@@ -222,7 +222,6 @@ static const unsigned char init_ov7660[][4] =
222 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, 222 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
223 {SENSOR, OV7660_AECH, 0x20}, 223 {SENSOR, OV7660_AECH, 0x20},
224 {SENSOR, OV7660_COM1, 0x00}, 224 {SENSOR, OV7660_COM1, 0x00},
225 {SENSOR, OV7660_GAIN, 0x07},
226 {SENSOR, OV7660_OFON, 0x0c}, 225 {SENSOR, OV7660_OFON, 0x0c},
227 {SENSOR, OV7660_COM2, 0x11}, 226 {SENSOR, OV7660_COM2, 0x11},
228 {SENSOR, OV7660_COM7, 0x05}, 227 {SENSOR, OV7660_COM7, 0x05},
@@ -267,7 +266,6 @@ static const unsigned char init_ov7660[][4] =
267 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, 266 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
268 {SENSOR, OV7660_AECH, 0x5f}, 267 {SENSOR, OV7660_AECH, 0x5f},
269 {SENSOR, OV7660_COM1, 0x03}, 268 {SENSOR, OV7660_COM1, 0x03},
270 {SENSOR, OV7660_GAIN, 0x02},
271 {SENSOR, OV7660_OFON, 0x0c}, 269 {SENSOR, OV7660_OFON, 0x0c},
272 {SENSOR, OV7660_COM2, 0x11}, 270 {SENSOR, OV7660_COM2, 0x11},
273 {SENSOR, OV7660_COM7, 0x05}, 271 {SENSOR, OV7660_COM7, 0x05},