From: Gerald Kerma <drEagle@doukki.net>
Date: Sat, 13 Dec 2014 20:35:34 +0000 (+0100)
Subject: MVEBUMMC : REMOVE unnecessary delays
X-Git-Tag: v2025.01-rc5-pxa1908~14076^2~3
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=86eeecafc24408822c1c8c329963e6f76751cae1;p=u-boot.git

MVEBUMMC : REMOVE unnecessary delays

Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk

Signed-off-by: GĂ©rald Kerma <drEagle@doukki.net>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
---

diff --git a/drivers/mmc/mvebu_mmc.c b/drivers/mmc/mvebu_mmc.c
index 854bcc6c4f..3e08f4091d 100644
--- a/drivers/mmc/mvebu_mmc.c
+++ b/drivers/mmc/mvebu_mmc.c
@@ -274,8 +274,6 @@ static void mvebu_mmc_set_clk(unsigned int clock)
 		mvebu_mmc_write(SDIO_CLK_DIV, m & MVEBU_MMC_BASE_DIV_MAX);
 		debug("%s: clock (%d) div : %d\n", DRIVER_NAME, clock, m);
 	}
-
-	udelay(10*1000);
 }
 
 static void mvebu_mmc_set_bus(unsigned int bus)
@@ -315,7 +313,6 @@ static void mvebu_mmc_set_bus(unsigned int bus)
 	      "high-speed" : "");
 
 	mvebu_mmc_write(SDIO_HOST_CTRL, ctrl_reg);
-	udelay(10*1000);
 }
 
 static void mvebu_mmc_set_ios(struct mmc *mmc)