aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-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 191332b845cc..158c0ee53b2c 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2117,14 +2117,14 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
2117 /* we start off in DISABLED state */ 2117 /* we start off in DISABLED state */
2118 host->dpm_state = DISABLED; 2118 host->dpm_state = DISABLED;
2119 2119
2120 if (mmc_host_enable(host->mmc) != 0) { 2120 if (clk_enable(host->iclk) != 0) {
2121 clk_put(host->iclk); 2121 clk_put(host->iclk);
2122 clk_put(host->fclk); 2122 clk_put(host->fclk);
2123 goto err1; 2123 goto err1;
2124 } 2124 }
2125 2125
2126 if (clk_enable(host->iclk) != 0) { 2126 if (mmc_host_enable(host->mmc) != 0) {
2127 mmc_host_disable(host->mmc); 2127 clk_disable(host->iclk);
2128 clk_put(host->iclk); 2128 clk_put(host->iclk);
2129 clk_put(host->fclk); 2129 clk_put(host->fclk);
2130 goto err1; 2130 goto err1;