[PATCH v2 27/40] mmc: tegra: Set SDHCI_QUIRK2_TUNE_DIS_CARD_CLK on Tegra210
From: Aapo Vienamo
Date: Fri Aug 10 2018 - 14:10:17 EST
This prevents a possible hardware hang during tuning.
Signed-off-by: Aapo Vienamo <avienamo@xxxxxxxxxx>
---
drivers/mmc/host/sdhci-tegra.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 3a53593..0959102 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -837,7 +837,8 @@ static const struct sdhci_pltfm_data sdhci_tegra210_pdata = {
SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC |
SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
- SDHCI_QUIRK2_TUNE_SKIP_XFERMODE_REG_PROG,
+ SDHCI_QUIRK2_TUNE_SKIP_XFERMODE_REG_PROG |
+ SDHCI_QUIRK2_TUNE_DIS_CARD_CLK,
.ops = &tegra210_sdhci_ops,
};
--
2.7.4