diff mbox

[U-Boot,v3,4/6] MVEBUMMC : REMOVE unnecessary delays

Message ID 1418502936-6158-5-git-send-email-drEagle@doukki.net
State Accepted
Delegated to: Pantelis Antoniou
Headers show

Commit Message

DrEagle Dec. 13, 2014, 8:35 p.m. UTC
Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk

Signed-off-by: Gérald Kerma <drEagle@doukki.net>
---
 drivers/mmc/mvebu_mmc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Pantelis Antoniou Jan. 5, 2015, 6:28 p.m. UTC | #1
Hi Gérald,

> On Dec 13, 2014, at 22:35 , Gérald Kerma <drEagle@doukki.net> wrote:
> 
> Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk
> 
> Signed-off-by: Gérald Kerma <drEagle@doukki.net>
> ---
> drivers/mmc/mvebu_mmc.c | 3 ---
> 1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/mmc/mvebu_mmc.c b/drivers/mmc/mvebu_mmc.c
> index 854bcc6..3e08f40 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)
> -- 
> 2.1.3

Applied, thanks

— Pantelis
diff mbox

Patch

diff --git a/drivers/mmc/mvebu_mmc.c b/drivers/mmc/mvebu_mmc.c
index 854bcc6..3e08f40 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)