From 4af8529d8d32fc0c2d5571e947d3907b422db423 Mon Sep 17 00:00:00 2001 From: Sarthak Garg Date: Wed, 18 Aug 2021 12:55:55 +0530 Subject: [PATCH] mmc: sdhci-msm: Update pr_err condition in DLL init path eMMC device operating at 1.8 V can be run up to 100 MHz without SDCDC (DLL) and with DLL above 100 MHz. Change the existing pr_err condition to less than 100MHz. Change-Id: Ia6575ddfd0e4dc57723226e3dff24ad485a1a2ea Signed-off-by: Sarthak Garg --- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index 45599cd587c2..8facf5e1ba57 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -939,7 +939,7 @@ static int msm_init_cm_dll(struct sdhci_host *host, mclk_freq = ROUND(dll_clock * cycle_cnt, TCXO_FREQ); - if (dll_clock < 192000000) + if (dll_clock < 100000000) pr_err("%s: %s: Non standard clk freq =%u\n", mmc_hostname(mmc), __func__, dll_clock);