Skip to contentSkip to conversation

MMC: OMAP: Remove extra divisor increase

PATCH In review Carlos Aguiar 1 participant 1 message Jan 28, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/18 MMC: OMAP: Remove extra divisor increase

From: Tony Lindgren <[email protected]>

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

---
 drivers/mmc/host/omap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mmc/host/omap.c +0 -1
index 9374163..9b32110 100644
@@ -937,7 +937,6 @@ static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios)
 
 	if (dsor > 250)
 		dsor = 250;
-	dsor++;
 
 	if (ios->bus_width == MMC_BUS_WIDTH_4)
 		dsor |= 1 << 15;

-- 1.5.3.GIT