Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;