aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/omap_hsmmc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 078fdf11af0..0cf0d89e418 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2101,14 +2101,14 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
2101 /* we start off in DISABLED state */ 2101 /* we start off in DISABLED state */
2102 host->dpm_state = DISABLED; 2102 host->dpm_state = DISABLED;
2103 2103
2104 if (mmc_host_enable(host->mmc) != 0) { 2104 if (clk_enable(host->iclk) != 0) {
2105 clk_put(host->iclk); 2105 clk_put(host->iclk);
2106 clk_put(host->fclk); 2106 clk_put(host->fclk);
2107 goto err1; 2107 goto err1;
2108 } 2108 }
2109 2109
2110 if (clk_enable(host->iclk) != 0) { 2110 if (mmc_host_enable(host->mmc) != 0) {
2111 mmc_host_disable(host->mmc); 2111 clk_disable(host->iclk);
2112 clk_put(host->iclk); 2112 clk_put(host->iclk);
2113 clk_put(host->fclk); 2113 clk_put(host->fclk);
2114 goto err1; 2114 goto err1;