mmc: sdhci_am654: Enable DLL only for some speed modes
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 8 Jan 2020 15:09:20 +0000 (20:39 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Mar 2020 13:35:41 +0000 (14:35 +0100)
commita161c45f2979566c1dafed7fe9807b01f5b0cf73
tree8424c89f2ffb19d010aa3a19713f1bd15e15cd0a
parent8ee5fc0e0b3bed087b38f46f4c272b64c0b33d47
mmc: sdhci_am654: Enable DLL only for some speed modes

Its recommended that DLL must only be enabled for SDR50, DDR50, DDR52,
SDR104, HS200 and HS400 speed modes. Move DLL configuration to its own
function and call it only in the above speed modes.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200108150920.14547-4-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c