camera:turn on stream output after ov2659 init setting for vsync problem
authorddl <ddl@rockchip.com>
Sun, 30 Jan 2011 23:51:31 +0000 (07:51 +0800)
committerddl <ddl@rockchip.com>
Sun, 30 Jan 2011 23:51:31 +0000 (07:51 +0800)
drivers/media/video/ov2659.c

index f598647d413c87636eb343fb6c4c8fe29600a27a..f1fe71fbcb4bf6881255307cb10a472659bbf667 100755 (executable)
@@ -100,7 +100,7 @@ static struct reginfo sensor_init_data[] =
        {0x3000, 0x0f},
        {0x3001, 0xff},
        {0x3002, 0xff},
-       {0x0100, 0x01},
+       //{0x0100, 0x01},       //software sleep : Sensor vsync singal may not output if haven't sleep the sensor when transfer the array
        {0x3633, 0x3d},
        {0x3620, 0x02},
        {0x3631, 0x11},
@@ -261,6 +261,7 @@ static struct reginfo sensor_init_data[] =
        {0x5062, 0x7d},
        {0x5063, 0x69},
        {0x3004, 0x20},
+               {0x0100, 0x01},
        {0x0000, 0x00}
 };
 
@@ -271,7 +272,7 @@ static struct reginfo sensor_720p[]=
        {0x3000, 0x0f   },
        {0x3001, 0xff   },
        {0x3002, 0xff   },
-       {0x0100, 0x01   },
+       //{0x0100, 0x01 },  //software sleep : Sensor vsync singal may not output if haven't sleep the sensor when transfer the array
        {0x3633, 0x3d   },
        {0x3620, 0x02   },
        {0x3631, 0x11   },
@@ -428,6 +429,7 @@ static struct reginfo sensor_720p[]=
        {0x5061, 0x7d   },
        {0x5062, 0x7d   },
        {0x5063, 0x69   },
+               {0x0100, 0x01   },
        {0x0000 ,0x00}
 
 };