Skip to content

Commit f571389

Browse files
osctobeUlf Hansson
authored andcommitted
mmc: tegra: fix SDR50 tuning override
Commit 7ad2ed1 inadvertently mixed up a quirk flag's name and broke SDR50 tuning override. Use correct NVQUIRK_ name. Fixes: 7ad2ed1 ("mmc: tegra: enable UHS-I modes") Cc: <stable@vger.kernel.org> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Tested-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Link: https://lore.kernel.org/r/9aff1d859935e59edd81e4939e40d6c55e0b55f6.1578390388.git.mirq-linux@rere.qmqm.pl Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 27f4e1e commit f571389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/sdhci-tegra.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ static void tegra_sdhci_reset(struct sdhci_host *host, u8 mask)
386386
misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_DDR50;
387387
if (soc_data->nvquirks & NVQUIRK_ENABLE_SDR104)
388388
misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_SDR104;
389-
if (soc_data->nvquirks & SDHCI_MISC_CTRL_ENABLE_SDR50)
389+
if (soc_data->nvquirks & NVQUIRK_ENABLE_SDR50)
390390
clk_ctrl |= SDHCI_CLOCK_CTRL_SDR50_TUNING_OVERRIDE;
391391
}
392392

0 commit comments

Comments
 (0)