summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSeungwon Jeon <tgih.jun@samsung.com>2011-10-18 13:20:57 +0900
committerChris Ball <cjb@laptop.org>2011-10-26 16:32:28 -0400
commit71fe3eb0d006861bdae57e93975b6ae3d9b55e99 (patch)
treee12b8a12ec5a828f879524f02b68d6564571eec3 /drivers/mmc
parentb3bf915308ca2b50f3beec6cc824083870f0f4b5 (diff)
downloadlinux-3.10-71fe3eb0d006861bdae57e93975b6ae3d9b55e99.tar.gz
linux-3.10-71fe3eb0d006861bdae57e93975b6ae3d9b55e99.tar.bz2
linux-3.10-71fe3eb0d006861bdae57e93975b6ae3d9b55e99.zip
mmc: core: Modify the timeout value for writing power class
This patch will apply the generic CMD6 timeout to switch command for power class. Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 54088768776..79390151920 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -663,7 +663,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;