diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-04-09 20:47:31 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-04-11 23:12:00 +0200 |
commit | cf39f3f304830b1e76b1a4af8d135ed9d26bb134 (patch) | |
tree | 1cbc286239246c831d55448601bc07b902a21589 /drivers/mmc | |
parent | 5ee7c9dc7777f9a0f8bb993ed36b48d4bf19f3d9 (diff) |
mmc: renesas-sdhi: Wait after reconfiguring pins
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/renesas-sdhi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index e9edcf5f17..8564f42e20 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -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); |