camera: ov5640 soft reset cancel in init_data, because outformat may be error for...
authorddl <ddl@rock-chips.com>
Sat, 9 Mar 2013 07:08:42 +0000 (15:08 +0800)
committerddl <ddl@rock-chips.com>
Sat, 9 Mar 2013 07:08:57 +0000 (15:08 +0800)
drivers/media/video/ov5640.c

index 16658e553b05bb9b4531bd46deae9a9b79fe99bc..25b0dc1e5d34c73b26529ff2ed641ad93d570c98 100755 (executable)
@@ -75,7 +75,7 @@ module_param(debug, int, S_IRUGO|S_IWUSR);
 #define CONFIG_SENSOR_Focus         0
 #endif
 
-#define CONFIG_SENSOR_I2C_SPEED    250000       /* Hz */
+#define CONFIG_SENSOR_I2C_SPEED    100000       /* Hz */
 /* Sensor write register continues by preempt_disable/preempt_enable for current process not be scheduled */
 #define CONFIG_SENSOR_I2C_NOSCHED   0
 #define CONFIG_SENSOR_I2C_RDWRCHK   0
@@ -198,7 +198,7 @@ static struct  flash_timer flash_off_timer;
 static struct reginfo sensor_init_data[] =
 {
        {0x3103, 0x11},
-       {0x3008, 0x82},
+       //{0x3008, 0x82},
        {0x3008, 0x42},
        {0x3103, 0x03},
        {0x3017, 0xff},