Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e300149e authored by Stefan Agner's avatar Stefan Agner Committed by Ulf Hansson
Browse files

mmc: tegra: fix eMMC DDR52 mode



Make sure the clock is doubled when using eMMC DDR52 mode.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Tested-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 127407e3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -228,7 +228,8 @@ static void tegra_sdhci_set_uhs_signaling(struct sdhci_host *host,
	struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
	struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host);

	if (timing == MMC_TIMING_UHS_DDR50)
	if (timing == MMC_TIMING_UHS_DDR50 ||
	    timing == MMC_TIMING_MMC_DDR52)
		tegra_host->ddr_signaling = true;

	sdhci_set_uhs_signaling(host, timing);