camera ov5640: add some delay from capture to preview
authorddl <ddl@rock-chips.com>
Tue, 15 Jan 2013 03:23:06 +0000 (11:23 +0800)
committerddl <ddl@rock-chips.com>
Tue, 15 Jan 2013 03:23:27 +0000 (11:23 +0800)
drivers/media/video/ov5640.c

index 62cc47e12f2019dba649232291b95d630f19f44e..16658e553b05bb9b4531bd46deae9a9b79fe99bc 100755 (executable)
@@ -2946,6 +2946,8 @@ static int sensor_s_fmt(struct v4l2_subdev *sd,struct v4l2_mbus_framefmt *mf)
                 if (sensor->info_priv.auto_focus == SENSOR_AF_MODE_CONTINUOUS) {
                     sensor_af_workqueue_set(icd,WqCmd_af_continues,0,false,NULL); 
                 }
+
+                msleep(300);
             }
             #else   
             msleep(500);