From 598cd94f5aafd135cd10c078b21781e5df70fb87 Mon Sep 17 00:00:00 2001 From: Gyeongtaek Lee Date: Thu, 29 Mar 2018 14:37:28 +0900 Subject: [PATCH] mfd: madera: add delay before enabling regulators Change-Id: I8fe817cb80a536192f586b95bad3dd87ffb3e456 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 c3e940dc977d..5e4a30d4dea6 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -453,6 +453,9 @@ static int madera_get_reset_gpio(struct madera *madera) ret = 0; } + /* Ensure period of reset asserted before we apply the supplies */ + msleep(20); + if (ret == -EPROBE_DEFER) return ret; -- 2.20.1