summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorZhoujie Wu <zjwu@marvell.com>2017-07-21 11:30:58 -0700
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 14:01:39 +0200
commit468c648335b1724fcaa0c4f2a0247f77fe4f2977 (patch)
tree0b1d29d005dd0e8c65aeea253ade165cd7e4f439 /drivers/mmc/host
parent2cd6c49da2c60e36a86d8e63822cba29fa26aa88 (diff)
downloadlwn-468c648335b1724fcaa0c4f2a0247f77fe4f2977.tar.gz
lwn-468c648335b1724fcaa0c4f2a0247f77fe4f2977.zip
mmc: sdhci-xenon: ignore timing DDR52 in tuning
Emmc DDR52 mode uses fixed delay, return earlier if timing is MMC_TIMING_MMC_DDR52 in execute tuning function. Signed-off-by: Zhoujie Wu <zjwu@marvell.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/sdhci-xenon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c
index 6ef33aad0f2e..edd4d9151071 100644
--- a/drivers/mmc/host/sdhci-xenon.c
+++ b/drivers/mmc/host/sdhci-xenon.c
@@ -311,7 +311,8 @@ static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode)
{
struct sdhci_host *host = mmc_priv(mmc);
- if (host->timing == MMC_TIMING_UHS_DDR50)
+ if (host->timing == MMC_TIMING_UHS_DDR50 ||
+ host->timing == MMC_TIMING_MMC_DDR52)
return 0;
/*