From: yzq Date: Thu, 13 Sep 2012 02:55:15 +0000 (+0800) Subject: rk3066b: fix 3066b rk610 reset err X-Git-Tag: firefly_0821_release~8634 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=29e8202db5dee30b4a39cccc8711106b6f1fe9c4;p=firefly-linux-kernel-4.4.55.git rk3066b: fix 3066b rk610 reset err --- diff --git a/drivers/mfd/rk610-core.c b/drivers/mfd/rk610-core.c index daad513a74c8..8ce5c2b5f73b 100755 --- a/drivers/mfd/rk610-core.c +++ b/drivers/mfd/rk610-core.c @@ -255,7 +255,10 @@ static int rk610_control_probe(struct i2c_client *client, else { DBG("rk610_control_probe request gpio ok\n"); gpio_direction_output(RK610_RESET_PIN, GPIO_HIGH); - gpio_direction_output(RK610_RESET_PIN, GPIO_LOW); +#if defined(CONFIG_ARCH_RK3066B) + msleep(100); +#endif + gpio_direction_output(RK610_RESET_PIN, GPIO_LOW); msleep(100); gpio_set_value(RK610_RESET_PIN, GPIO_HIGH); }