From 93e301058db0debe725cc42f031b5636cc5090e0 Mon Sep 17 00:00:00 2001 From: Gyeongtaek Lee Date: Tue, 23 Jan 2018 14:05:00 +0900 Subject: [PATCH] [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 --- drivers/mfd/madera-core.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.20.1