mfd: madera: add delay before enabling regulators
authorGyeongtaek Lee <gt82.lee@samsung.com>
Thu, 29 Mar 2018 05:37:28 +0000 (14:37 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jun 2018 09:14:52 +0000 (18:14 +0900)
Change-Id: I8fe817cb80a536192f586b95bad3dd87ffb3e456
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
drivers/mfd/madera-core.c

index c3e940dc977d4f9ed2cf3590ea87dd10bcdc4800..5e4a30d4dea68f6f5fb22b5e6b6ebbb7005063aa 100644 (file)
@@ -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;