浏览代码

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>
Erik Andrén 16 年之前
父节点
当前提交
81b4293ae6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/media/video/gspca/m5602/m5602_ov7660.h

+ 2 - 2
drivers/media/video/gspca/m5602/m5602_ov7660.h

@@ -335,7 +335,7 @@ static const unsigned char init_ov7660[][4] =
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x01},
-	{BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, /* 492 */
+	{BRIDGE, M5602_XB_VSYNC_PARA, 0xe0}, /* 480 */
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
 	{BRIDGE, M5602_XB_SIG_INI, 0x00},
@@ -343,7 +343,7 @@ static const unsigned char init_ov7660[][4] =
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x27}, /* 39 */
 	{BRIDGE, M5602_XB_VSYNC_PARA, 0x02},
-	{BRIDGE, M5602_XB_VSYNC_PARA, 0xae}, /* 686 */
+	{BRIDGE, M5602_XB_VSYNC_PARA, 0xa7}, /* 679 */
 	{BRIDGE, M5602_XB_SIG_INI, 0x00},
 
 	{SENSOR, OV7660_BLUE_GAIN, 0x80},