Skip to contentSkip to conversation

fsl_esdhc: Initialize mmc->b_max

PATCH New Fabio Estevam 3 participants 3 messages May 12, 2011 – May 18, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fsl_esdhc: Initialize mmc->b_max

commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.

---
 drivers/mmc/fsl_esdhc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/fsl_esdhc.c +1 -0
index d2355be..ec953f0 100644
@@ -525,6 +525,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
 	mmc->f_min = 400000;
 	mmc->f_max = MIN(gd->sdhc_clk, 52000000);
 
+	mmc->b_max = 0;
 	mmc_register(mmc);
 
 	return 0;
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 fsl_esdhc: Initialize mmc->b_max

Quoted 12 lines · Fabio Estevam

commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.

---
 drivers/mmc/fsl_esdhc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/fsl_esdhc.c +0 -0
index d2355be..ec953f0 100644

drivers/mmc/fsl_esdhc.c int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg) · line 531

Quoted 7 lines
drivers/mmc/fsl_esdhc.c +1 -0
@@ -525,6 +525,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
 	mmc->f_min = 400000;
 	mmc->f_max = MIN(gd->sdhc_clk, 52000000);
 
+	mmc->b_max = 0;
 	mmc_register(mmc);
 
 	return 0;

Best regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 fsl_esdhc: Initialize mmc->b_max

Quoted 4 lines · Stefano Babic
Quoted 3 lines · Fabio Estevam

commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.

Applied (and upstreamed), thanks!