Skip to content

Commit

Permalink
MMC: OMAP: Remove extra divisor increase
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren authored and Pierre Ossman committed Apr 18, 2008
1 parent 5ec21b1 commit ec2f362
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/host/omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec2f362

Please sign in to comment.