diff options
author | Tony Lindgren <tony@atomide.com> | 2008-03-26 16:08:45 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 14:05:27 -0400 |
commit | ec2f362a9126237e79a21d5c3cd225f5a07f8e89 (patch) | |
tree | 566267b034804cb0b239f401c17c033189837434 /drivers/mmc/host/omap.c | |
parent | 5ec21b1ccf554593d25fba0f411c03e1d6fd88c5 (diff) |
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/host/omap.c')
-rw-r--r-- | drivers/mmc/host/omap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index da70467915d6..472e977b7404 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) | |||
931 | 931 | ||
932 | if (dsor > 250) | 932 | if (dsor > 250) |
933 | dsor = 250; | 933 | dsor = 250; |
934 | dsor++; | ||
935 | 934 | ||
936 | if (ios->bus_width == MMC_BUS_WIDTH_4) | 935 | if (ios->bus_width == MMC_BUS_WIDTH_4) |
937 | dsor |= 1 << 15; | 936 | dsor |= 1 << 15; |