MVEBUMMC : REMOVE unnecessary delays
authorGerald Kerma <drEagle@doukki.net>
Sat, 13 Dec 2014 20:35:34 +0000 (21:35 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 6 Jan 2015 08:10:16 +0000 (10:10 +0200)
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>
drivers/mmc/mvebu_mmc.c

index 854bcc6c4f2b5443910178f903d370035510482c..3e08f4091dbd4db577dcf9bd059a5a4c1bfafe40 100644 (file)
@@ -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)