summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshok Reddy Soma <[email protected]>2020-10-23 04:59:03 -0600
committerMichal Simek <[email protected]>2020-10-29 08:55:33 +0100
commitd3d880b41a7cd72d2cdf5656ea2dd108a81560b6 (patch)
treed083e3f760e453fb26d5f5619cbae9e4c3a1543d
parent2e819a77b9f5c011fd4ec9ac575494f9b77b1ac7 (diff)
mmc: zynq_sdhci: Extend UHS timings till hs200
Fix the condition to set UHS timings for speeds upto HS200. Signed-off-by: Ashok Reddy Soma <[email protected]> Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
-rw-r--r--drivers/mmc/zynq_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index d55ba74b2c3..147ecc0d708 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -539,7 +539,7 @@ static void arasan_sdhci_set_control_reg(struct sdhci_host *host)
}
if (mmc->selected_mode > SD_HS &&
- mmc->selected_mode <= UHS_DDR50)
+ mmc->selected_mode <= MMC_HS_200)
sdhci_set_uhs_timing(host);
}