瀏覽代碼

MMC: OMAP: Remove extra divisor increase

As noted by Kyungmin Park, the divisor calculation has
an unnecessary increase.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Tony Lindgren 17 年之前
父節點
當前提交
ec2f362a91
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mmc/host/omap.c

+ 0 - 1
drivers/mmc/host/omap.c

@@ -931,7 +931,6 @@ static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios)
 
 
 	if (dsor > 250)
 	if (dsor > 250)
 		dsor = 250;
 		dsor = 250;
-	dsor++;
 
 
 	if (ios->bus_width == MMC_BUS_WIDTH_4)
 	if (ios->bus_width == MMC_BUS_WIDTH_4)
 		dsor |= 1 << 15;
 		dsor |= 1 << 15;