aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/omap.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 67d7b7fef084..15eb88343760 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -1461,16 +1461,13 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
1461 goto err_ioremap; 1461 goto err_ioremap;
1462 1462
1463 if (cpu_is_omap24xx()) { 1463 if (cpu_is_omap24xx()) {
1464 host->iclk = clk_get(&pdev->dev, "mmc_ick"); 1464 host->iclk = clk_get(&pdev->dev, "ick");
1465 if (IS_ERR(host->iclk)) 1465 if (IS_ERR(host->iclk))
1466 goto err_free_mmc_host; 1466 goto err_free_mmc_host;
1467 clk_enable(host->iclk); 1467 clk_enable(host->iclk);
1468 } 1468 }
1469 1469
1470 if (!cpu_is_omap24xx()) 1470 host->fclk = clk_get(&pdev->dev, "fck");
1471 host->fclk = clk_get(&pdev->dev, "mmc_ck");
1472 else
1473 host->fclk = clk_get(&pdev->dev, "mmc_fck");
1474 1471
1475 if (IS_ERR(host->fclk)) { 1472 if (IS_ERR(host->fclk)) {
1476 ret = PTR_ERR(host->fclk); 1473 ret = PTR_ERR(host->fclk);