projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ec21b1
)
MMC: OMAP: Remove extra divisor increase
author
Tony Lindgren
<tony@atomide.com>
Wed, 26 Mar 2008 20:08:45 +0000
(16:08 -0400)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Fri, 18 Apr 2008 18:05:27 +0000
(20:05 +0200)
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>
drivers/mmc/host/omap.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/omap.c
b/drivers/mmc/host/omap.c
index
da70467
..
472e977
100644
(file)
--- 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;