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:
f66b133
)
wm8994 add 50ms delay between wm_en and i2c read register in device setup
author
宋秀杰
<sxj@rock-chips.com>
Thu, 16 Feb 2012 10:10:08 +0000
(18:10 +0800)
committer
宋秀杰
<sxj@rock-chips.com>
Thu, 16 Feb 2012 10:10:08 +0000
(18:10 +0800)
drivers/regulator/wm8994-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/wm8994-regulator.c
b/drivers/regulator/wm8994-regulator.c
index 91c8043fc5766f0c495debd5fa43070fb48c911f..348bfa844439dd6e7676cddf844dfe3c31105734 100755
(executable)
--- a/
drivers/regulator/wm8994-regulator.c
+++ b/
drivers/regulator/wm8994-regulator.c
@@
-21,6
+21,7
@@
#include <linux/gpio.h>
#include <linux/slab.h>
+#include <linux/delay.h>
#include <linux/mfd/wm8994/core.h>
#include <linux/mfd/wm8994/registers.h>
#include <linux/mfd/wm8994/pdata.h>
@@
-258,6
+259,7
@@
static __devinit int wm8994_ldo_probe(struct platform_device *pdev)
ret);
goto err_gpio;
}
+ msleep(50);
} else
ldo->is_enabled = true;