]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
MMC: Remove extra diviso increase
authorTony Lindgren <tony@atomide.com>
Fri, 10 Aug 2007 07:46:34 +0000 (00:46 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Aug 2007 07:46:34 +0000 (00:46 -0700)
As noted by Kyungmin Park, the divisor calculation has
an unnecessary increase.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap.c

index 816abf410c488f1e593caf9c3b2ee37381b07ed5..0b59e9e86e31b9ed22c8104770552164e70f92f8 100644 (file)
@@ -935,7 +935,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;