]> git.sur5r.net Git - u-boot/commitdiff
mmc: renesas-sdhi: Wait after reconfiguring pins
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 9 Apr 2018 18:47:31 +0000 (20:47 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:12:00 +0000 (23:12 +0200)
The IP requires some time to recuperate after the IO pin
properties were changed. Add a delay to assure this.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/renesas-sdhi.c

index e9edcf5f179934ed59a241f6ca44acb3e44958c6..8564f42e206d8274415c6411518d5bf2d9068e5b 100644 (file)
@@ -289,6 +289,9 @@ out:
 static int renesas_sdhi_set_ios(struct udevice *dev)
 {
        int ret = matsu_sd_set_ios(dev);
+
+       mdelay(10);
+
 #if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
        struct matsu_sd_priv *priv = dev_get_priv(dev);