[9610] mfd: madera: delay for stable ldo on probe
authorGyeongtaek Lee <gt82.lee@samsung.com>
Tue, 23 Jan 2018 05:05:00 +0000 (14:05 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jun 2018 09:14:44 +0000 (18:14 +0900)
Delay is needed to get stable regulator for DCVDD.

Change-Id: I4f03c68bddf00f7a20e21316f965f6e88b3b2c46
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
drivers/mfd/madera-core.c

index ef7b854fdec610f130eb1cd48151add8baef6b6a..c3e940dc977d4f9ed2cf3590ea87dd10bcdc4800 100644 (file)
@@ -749,6 +749,9 @@ int madera_dev_init(struct madera *madera)
                goto err_enable;
        }
 
+       if (IS_ENABLED(CONFIG_REGULATOR_S2MPU09))
+               msleep(10);
+
        madera_disable_hard_reset(madera);
 
        regcache_cache_only(madera->regmap, false);