aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/pxamci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/pxamci.c')
-rw-r--r--drivers/mmc/pxamci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c
index 9774fc68b61a..fca894e55f4a 100644
--- a/drivers/mmc/pxamci.c
+++ b/drivers/mmc/pxamci.c
@@ -369,14 +369,14 @@ static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
369 if (CLOCKRATE / clk > ios->clock) 369 if (CLOCKRATE / clk > ios->clock)
370 clk <<= 1; 370 clk <<= 1;
371 host->clkrt = fls(clk) - 1; 371 host->clkrt = fls(clk) - 1;
372 pxa_set_cken(CKEN12_MMC, 1); 372 pxa_set_cken(CKEN_MMC, 1);
373 373
374 /* 374 /*
375 * we write clkrt on the next command 375 * we write clkrt on the next command
376 */ 376 */
377 } else { 377 } else {
378 pxamci_stop_clock(host); 378 pxamci_stop_clock(host);
379 pxa_set_cken(CKEN12_MMC, 0); 379 pxa_set_cken(CKEN_MMC, 0);
380 } 380 }
381 381
382 if (host->power_mode != ios->power_mode) { 382 if (host->power_mode != ios->power_mode) {