[PATCH 5/6] mmc: ffu: Hack for Hynix eMMC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When sending the switch command to Hynix eMMC HBG4e requires
the cmd bits should be set to 0, even if they should not have been
looked by the devices when writing a byte of the ext csd.

Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
---
 drivers/mmc/core/ffu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/core/ffu.c b/drivers/mmc/core/ffu.c
index c2883a8..8538365 100644
--- a/drivers/mmc/core/ffu.c
+++ b/drivers/mmc/core/ffu.c
@@ -274,7 +274,7 @@ static int mmc_ffu_switch_mode(struct mmc_card *card, int mode)
 	}
 
 	if (!err) {
-		err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
+		err = mmc_switch(card, 0,
 			offset, mode,
 			card->ext_csd.generic_cmd6_time);
 	}
-- 
2.8.0.rc3.226.g39d4020

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux