From: Gyeongtaek Lee Date: Thu, 29 Mar 2018 05:37:28 +0000 (+0900) Subject: mfd: madera: add delay before enabling regulators X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=598cd94f5aafd135cd10c078b21781e5df70fb87;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mfd: madera: add delay before enabling regulators Change-Id: I8fe817cb80a536192f586b95bad3dd87ffb3e456 Signed-off-by: Gyeongtaek Lee --- 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;