summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2008-03-26 20:08:45 (GMT)
committerPierre Ossman <drzeus@drzeus.cx>2008-04-18 18:05:27 (GMT)
commitec2f362a9126237e79a21d5c3cd225f5a07f8e89 (patch)
tree566267b034804cb0b239f401c17c033189837434 /drivers/mmc
parent5ec21b1ccf554593d25fba0f411c03e1d6fd88c5 (diff)
downloadlinux-fsl-qoriq-ec2f362a9126237e79a21d5c3cd225f5a07f8e89.tar.xz
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index da70467..472e977 100644
--- a/drivers/mmc/host/omap.c
+++ b/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)
dsor = 250;
- dsor++;
if (ios->bus_width == MMC_BUS_WIDTH_4)
dsor |= 1 << 15;