mxcmmc: remove frequency workaround
authorPierre Ossman <pierre@ossman.eu>
Tue, 9 Jun 2009 18:17:25 +0000 (20:17 +0200)
committerPierre Ossman <pierre@ossman.eu>
Sat, 13 Jun 2009 20:42:59 +0000 (22:42 +0200)
The MMC core has now been fixed to not send silly frequencies to the
drivers which means we can remove this workaround.

Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/mxcmmc.c

index f4cbe47..bc14bb1 100644 (file)
@@ -746,8 +746,6 @@ static int mxcmci_probe(struct platform_device *pdev)
        }
 
        mmc->f_min = clk_get_rate(host->clk) >> 16;
-       if (mmc->f_min < 400000)
-               mmc->f_min = 400000;
        mmc->f_max = clk_get_rate(host->clk) >> 1;
 
        /* recommended in data sheet */