projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3bf915
)
mmc: core: Modify the timeout value for writing power class
author
Seungwon Jeon
<tgih.jun@samsung.com>
Tue, 18 Oct 2011 04:20:57 +0000
(13:20 +0900)
committer
Chris Ball
<cjb@laptop.org>
Wed, 26 Oct 2011 20:32:28 +0000
(16:32 -0400)
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>
drivers/mmc/core/mmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/core/mmc.c
b/drivers/mmc/core/mmc.c
index 54088768776cfcbc929506a723331a5efd92cddc..7939015192086953211019839787d4180ef963f0 100644
(file)
--- 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;