Skip to contentSkip to conversation

mmc: core: Modify the timeout value for writing power class

PATCH Applied Seungwon Jeon 2 participants 2 messages Oct 18, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: core: Modify the timeout value for writing power class

This patch will apply the generic CMD6 timeout to switch command for power class.

---
 drivers/mmc/core/mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/core/mmc.c +1 -1
index f8ea938..d19440d 100644
@@ -659,7 +659,7 @@ static int mmc_select_powerclass(struct mmc_card *card,
 		err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
 				 EXT_CSD_POWER_CLASS,
 				 pwrclass_val,
-				 0);
+				 card->ext_csd.generic_cmd6_time);
 	}
 
 	return err;

--
1.7.0.4

Applied
#1 lore raw

Hi,

Quoted 4 lines · Seungwon Jeon

This patch will apply the generic CMD6 timeout to switch command for power class.

Thanks, applied to mmc-next for 3.2.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child