From: ddl Date: Sat, 9 Mar 2013 07:08:42 +0000 (+0800) Subject: camera: ov5640 soft reset cancel in init_data, because outformat may be error for... X-Git-Tag: firefly_0821_release~7444 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b8329f710d0c866f3233c23049c809e6b626ee66;p=firefly-linux-kernel-4.4.55.git camera: ov5640 soft reset cancel in init_data, because outformat may be error for register write fail --- 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},