camera: fix ov5642 display abnormity moment after capture in focus infinity
authorddl <ddl@rockchip.com>
Sat, 16 Jul 2011 02:54:41 +0000 (10:54 +0800)
committerddl <ddl@rockchip.com>
Wed, 27 Jul 2011 03:24:44 +0000 (11:24 +0800)
drivers/media/video/ov5642.c

index 77d86fd6bb310170ee1aa4e90c1a3e1c8692a608..65cc68ad764265d84acaf41e653d50b4ea0e4762 100755 (executable)
@@ -4545,6 +4545,8 @@ static int sensor_s_fmt(struct v4l2_subdev *sd, struct v4l2_format *f)
                         sensor_af_single(client);
                        }
                        }
+            } else {
+                msleep(600);    /* ddl@rock-chips.com : whitebalance auto must delay */
             }
            #endif
                        sensor->info_priv.video2preview = false;