[9610] mfd: madera: delay for stable ldo
authorGyeongtaek Lee <gt82.lee@samsung.com>
Thu, 21 Dec 2017 08:22:43 +0000 (17:22 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jun 2018 09:14:35 +0000 (18:14 +0900)
Delay is needed to get stable regulator for DCVDD.

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

index 3f512dc420128e24d4c8d18f6b25bcc9b4435304..ef7b854fdec610f130eb1cd48151add8baef6b6a 100644 (file)
@@ -283,6 +283,9 @@ static int madera_runtime_resume(struct device *dev)
                return ret;
        }
 
+       if (IS_ENABLED(CONFIG_REGULATOR_S2MPU09))
+               msleep(10);
+
        regcache_cache_only(madera->regmap, false);
        regcache_cache_only(madera->regmap_32bit, false);