diff options
author | Tony Lindgren <tony@atomide.com> | 2008-03-26 21:08:45 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 20:05:27 +0200 |
commit | ec2f362a9126237e79a21d5c3cd225f5a07f8e89 (patch) | |
tree | 566267b034804cb0b239f401c17c033189837434 /drivers | |
parent | MMC: OMAP: Remove some opcodes from host driver (diff) | |
download | linux-ec2f362a9126237e79a21d5c3cd225f5a07f8e89.tar.xz linux-ec2f362a9126237e79a21d5c3cd225f5a07f8e89.zip |
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')
-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) if (dsor > 250) dsor = 250; - dsor++; if (ios->bus_width == MMC_BUS_WIDTH_4) dsor |= 1 << 15; |