From: Gyeongtaek Lee Date: Tue, 23 Jan 2018 05:05:00 +0000 (+0900) Subject: [9610] mfd: madera: delay for stable ldo on probe X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93e301058db0debe725cc42f031b5636cc5090e0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] mfd: madera: delay for stable ldo on probe Delay is needed to get stable regulator for DCVDD. Change-Id: I4f03c68bddf00f7a20e21316f965f6e88b3b2c46 Signed-off-by: Gyeongtaek Lee --- diff --git a/drivers/mfd/madera-core.c b/drivers/mfd/madera-core.c index ef7b854fdec6..c3e940dc977d 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -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);