From 9913355ce3220a1f6367c2dae08b5cb18e85dae4 Mon Sep 17 00:00:00 2001 From: xbw Date: Tue, 25 Feb 2014 12:34:50 +0800 Subject: [PATCH] SDMMC: revert the modify in file dw_mmc.c,Keep it to its original version. --- drivers/mmc/host/dw_mmc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 9bc18a721f86..bc3a1bc4940f 100755 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2215,15 +2215,11 @@ int dw_mci_probe(struct dw_mci *host) } } -#if 1 - //test, modify by xbw - host->bus_hz = 50000000; -#else if (IS_ERR(host->ciu_clk)) host->bus_hz = host->pdata->bus_hz; else host->bus_hz = clk_get_rate(host->ciu_clk); -#endif + if (drv_data && drv_data->setup_clock) { ret = drv_data->setup_clock(host); if (ret) { -- 2.34.1