summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/m5602/m5602_s5k83a.h
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2009-01-21 06:33:14 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 21:20:46 (GMT)
commitcde41bb292c5f5475213ebed96cd5f18b51ecd48 (patch)
tree5d03bc37e864320cd412a300e5f067260a779867 /drivers/media/video/gspca/m5602/m5602_s5k83a.h
parent57851d0cd0b4b9058a10ca81efc4cb6cbc9323e7 (diff)
downloadlinux-cde41bb292c5f5475213ebed96cd5f18b51ecd48.tar.xz
V4L/DVB (11633): gspca - m5602-s5k83a: Move hsync/vsync setup to start function
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/m5602/m5602_s5k83a.h')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_s5k83a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_s5k83a.h b/drivers/media/video/gspca/m5602/m5602_s5k83a.h
index 47c0bb4..7814b07 100644
--- a/drivers/media/video/gspca/m5602/m5602_s5k83a.h
+++ b/drivers/media/video/gspca/m5602/m5602_s5k83a.h
@@ -164,7 +164,10 @@ static const unsigned char init_s5k83a[][4] =
/* normal colors
(this is value after boot, but after tries can be different) */
{SENSOR, 0x00, 0x06, 0x00},
+};
+static const unsigned char start_s5k83a[][4] =
+{
{BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06, 0x00},
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0, 0x00},
{BRIDGE, M5602_XB_ADC_CTRL, 0xc0, 0x00},