Skip to content

Commit

Permalink
mmc: core: Modify the timeout value for writing power class
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Seungwon Jeon authored and Chris Ball committed Oct 26, 2011
1 parent b3bf915 commit 71fe3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71fe3eb

Please sign in to comment.