projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
add7c61
)
rk3066b: fix 3066b rk610 reset err
author
yzq
<yzq@rock-chips.com>
Thu, 13 Sep 2012 02:55:15 +0000
(10:55 +0800)
committer
yzq
<yzq@rock-chips.com>
Thu, 13 Sep 2012 02:55:15 +0000
(10:55 +0800)
drivers/mfd/rk610-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rk610-core.c
b/drivers/mfd/rk610-core.c
index daad513a74c887cb3349232b759339fc8b1bada7..8ce5c2b5f73bfd3c0aa9ee5b7f0ff86b0f01c3c4 100755
(executable)
--- 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);
}