Procházet zdrojové kódy

mxcmmc: remove frequency workaround

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>
Pierre Ossman před 16 roky
rodič
revize
99d9260c30
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      drivers/mmc/host/mxcmmc.c

+ 0 - 2
drivers/mmc/host/mxcmmc.c

@@ -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 */