From: ddl Date: Tue, 15 Jan 2013 03:23:06 +0000 (+0800) Subject: camera ov5640: add some delay from capture to preview X-Git-Tag: firefly_0821_release~7952 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b70209020396247d18206096fa1cf7158b735504;p=firefly-linux-kernel-4.4.55.git camera ov5640: add some delay from capture to preview --- diff --git a/drivers/media/video/ov5640.c b/drivers/media/video/ov5640.c index 62cc47e12f20..16658e553b05 100755 --- a/drivers/media/video/ov5640.c +++ b/drivers/media/video/ov5640.c @@ -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);