From b8329f710d0c866f3233c23049c809e6b626ee66 Mon Sep 17 00:00:00 2001 From: ddl Date: Sat, 9 Mar 2013 15:08:42 +0800 Subject: [PATCH] camera: ov5640 soft reset cancel in init_data, because outformat may be error for register write fail --- drivers/media/video/ov5640.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/ov5640.c b/drivers/media/video/ov5640.c index 16658e553b05..25b0dc1e5d34 100755 --- a/drivers/media/video/ov5640.c +++ b/drivers/media/video/ov5640.c @@ -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}, -- 2.34.1