From: 宋秀杰 Date: Thu, 16 Feb 2012 10:10:08 +0000 (+0800) Subject: wm8994 add 50ms delay between wm_en and i2c read register in device setup X-Git-Tag: firefly_0821_release~9618 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=525fdeba3fbe14b0617f0a86891323fd61bbdf70;p=firefly-linux-kernel-4.4.55.git wm8994 add 50ms delay between wm_en and i2c read register in device setup --- diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c index 91c8043fc576..348bfa844439 100755 --- a/drivers/regulator/wm8994-regulator.c +++ b/drivers/regulator/wm8994-regulator.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -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;