1 --- a/drivers/mmc/pxamci.c
2 +++ b/drivers/mmc/pxamci.c
3 @@ -366,8 +366,7 @@ static void pxamci_set_ios(struct mmc_ho
6 unsigned int clk = CLOCKRATE / ios->clock;
7 - if (CLOCKRATE / clk > ios->clock)
9 + if(clk > (1<<6)) clk = (1<<6);
10 host->clkrt = fls(clk) - 1;
11 pxa_set_cken(CKEN12_MMC, 1);