Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71fe3eb0 authored by Seungwon Jeon's avatar Seungwon Jeon Committed by Chris Ball
Browse files

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: default avatarSeungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent b3bf9153
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -663,7 +663,7 @@ static int mmc_select_powerclass(struct mmc_card *card,
		err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
		err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
				 EXT_CSD_POWER_CLASS,
				 EXT_CSD_POWER_CLASS,
				 pwrclass_val,
				 pwrclass_val,
				 0);
				 card->ext_csd.generic_cmd6_time);
	}
	}


	return err;
	return err;