Skip to contentSkip to conversation

mmc: sh_mmcif: enable MMC_MODE_HC

PATCH New Shimoda 1 participant 1 message Jun 8, 2012 MMC, SD and SDIO

lore
Share & tools
lore

Shimoda

#0 lore raw

PATCH 1/1 mmc: sh_mmcif: enable MMC_MODE_HC

The controller can control high capacity cards. So, the patch adds the flag. If the flag is not set, "mmcinfo" will fail when a high capacity card is used.

---
 drivers/mmc/sh_mmcif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/sh_mmcif.c +1 -1
index 2835e24..4588568 100644
@@ -593,7 +593,7 @@ int mmcif_mmc_init(void)
 	mmc->f_max = CLKDEV_EMMC_DATA;
 	mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
 	mmc->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT |
-			 MMC_MODE_8BIT;
+			 MMC_MODE_8BIT | MMC_MODE_HC;
 	memcpy(mmc->name, DRIVER_NAME, sizeof(DRIVER_NAME));
 	mmc->send_cmd = sh_mmcif_request;
 	mmc->set_ios = sh_mmcif_set_ios;
Signature · 1 line
1.7.1