Commit ec2f362a authored by Tony Lindgren's avatar Tony Lindgren Committed by Pierre Ossman

MMC: OMAP: Remove extra divisor increase

As noted by Kyungmin Park, the divisor calculation has
an unnecessary increase.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 5ec21b1c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment