aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2009-01-21 11:46:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:47 -0400
commit81b4293ae62b81b0b434f10c694f11fff93be8ca (patch)
tree134fe55b0202e84561f396ae492d5b2a7c94e74f
parent0364c4ca345175daa36c3c672fdecafd469e05a8 (diff)
V4L/DVB (11638): gspca - m5602-ov7660: Make an educated guess on the proper hsync/vsync
Based on how the ov9650 is configured, make an educated guess on the hsync/vsync setup for the ov7660 Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/m5602/m5602_ov7660.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h
index 71103ede885..34652bcdfd4 100644
--- a/drivers/media/video/gspca/m5602/m5602_ov7660.h
+++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h
@@ -335,7 +335,7 @@ static const unsigned char init_ov7660[][4] =
335 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, 335 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
336 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, 336 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
337 {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, 337 {BRIDGE, M5602_XB_VSYNC_PARA, 0x01},
338 {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, /* 492 */ 338 {BRIDGE, M5602_XB_VSYNC_PARA, 0xe0}, /* 480 */
339 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, 339 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
340 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, 340 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
341 {BRIDGE, M5602_XB_SIG_INI, 0x00}, 341 {BRIDGE, M5602_XB_SIG_INI, 0x00},
@@ -343,7 +343,7 @@ static const unsigned char init_ov7660[][4] =
343 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, 343 {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
344 {BRIDGE, M5602_XB_VSYNC_PARA, 0x27}, /* 39 */ 344 {BRIDGE, M5602_XB_VSYNC_PARA, 0x27}, /* 39 */
345 {BRIDGE, M5602_XB_VSYNC_PARA, 0x02}, 345 {BRIDGE, M5602_XB_VSYNC_PARA, 0x02},
346 {BRIDGE, M5602_XB_VSYNC_PARA, 0xae}, /* 686 */ 346 {BRIDGE, M5602_XB_VSYNC_PARA, 0xa7}, /* 679 */
347 {BRIDGE, M5602_XB_SIG_INI, 0x00}, 347 {BRIDGE, M5602_XB_SIG_INI, 0x00},
348 348
349 {SENSOR, OV7660_BLUE_GAIN, 0x80}, 349 {SENSOR, OV7660_BLUE_GAIN, 0x80},