rk312x : delay some time when sensor resolution is changed for gc2035.
authorzyc <zyc@rock-chips.com>
Wed, 10 Sep 2014 09:27:55 +0000 (17:27 +0800)
committerzyc <zyc@rock-chips.com>
Wed, 10 Sep 2014 09:27:55 +0000 (17:27 +0800)
drivers/media/video/gc2035.c

index d5d8971c50504c4c67c963c4b88977df294ed968..c39ed4e7f41066eec10a34476491e89054a2c407 100755 (executable)
@@ -1259,6 +1259,8 @@ static int sensor_s_fmt_cb_th(struct i2c_client *client,struct v4l2_mbus_framefm
 */\r
 static int sensor_s_fmt_cb_bh (struct i2c_client *client,struct v4l2_mbus_framefmt *mf, bool capture)\r
 {\r
+       /* add delay for rk312x*/
+       msleep(300); 
        return 0;\r
 }\r
 static int sensor_softrest_usr_cb(struct i2c_client *client,struct rk_sensor_reg *series)\r