diff options
author | Zhoujie Wu <zjwu@marvell.com> | 2017-07-21 11:30:58 -0700 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:39 +0200 |
commit | 468c648335b1724fcaa0c4f2a0247f77fe4f2977 (patch) | |
tree | 0b1d29d005dd0e8c65aeea253ade165cd7e4f439 /drivers/mmc/host | |
parent | 2cd6c49da2c60e36a86d8e63822cba29fa26aa88 (diff) | |
download | lwn-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.c | 3 |
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; /* |