From: Gyeongtaek Lee Date: Thu, 21 Dec 2017 08:22:43 +0000 (+0900) Subject: [9610] mfd: madera: delay for stable ldo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49fbb6462fb43ea4b1f2958a2c46b05a664288c4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] mfd: madera: delay for stable ldo Delay is needed to get stable regulator for DCVDD. Change-Id: I993e8fc48f1cfad3b1413f066fd370232f10753a Signed-off-by: Gyeongtaek Lee --- diff --git a/drivers/mfd/madera-core.c b/drivers/mfd/madera-core.c index 3f512dc42012..ef7b854fdec6 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -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);