aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mvsdio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index 1783043a26af..9d3cfa9909c9 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -620,9 +620,18 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
620 if (ios->bus_width == MMC_BUS_WIDTH_4) 620 if (ios->bus_width == MMC_BUS_WIDTH_4)
621 ctrl_reg |= MVSD_HOST_CTRL_DATA_WIDTH_4_BITS; 621 ctrl_reg |= MVSD_HOST_CTRL_DATA_WIDTH_4_BITS;
622 622
623 /*
624 * The HI_SPEED_EN bit is causing trouble with many (but not all)
625 * high speed SD, SDHC and SDIO cards. Not enabling that bit
626 * makes all cards work. So let's just ignore that bit for now
627 * and revisit this issue if problems for not enabling this bit
628 * are ever reported.
629 */
630#if 0
623 if (ios->timing == MMC_TIMING_MMC_HS || 631 if (ios->timing == MMC_TIMING_MMC_HS ||
624 ios->timing == MMC_TIMING_SD_HS) 632 ios->timing == MMC_TIMING_SD_HS)
625 ctrl_reg |= MVSD_HOST_CTRL_HI_SPEED_EN; 633 ctrl_reg |= MVSD_HOST_CTRL_HI_SPEED_EN;
634#endif
626 635
627 host->ctrl = ctrl_reg; 636 host->ctrl = ctrl_reg;
628 mvsd_write(MVSD_HOST_CTRL, ctrl_reg); 637 mvsd_write(MVSD_HOST_CTRL, ctrl_reg);