]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-msm: Re-initialize DLL if MCLK is gated dynamically
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Mon, 12 Nov 2018 06:52:17 +0000 (12:22 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit0559fba7aa1bea7992db7f6faa6d469c1466c287
treeafb3ccbb6e43ed99981dfe8ba721079b6125ba72
parent73bd762136840a7db67eb7a1f8bf543bd03c2a1a
mmc: sdhci-msm: Re-initialize DLL if MCLK is gated dynamically

On few SDHCI-MSM controllers, the host controller's clock tuning
circuit may go out of sync if controller clocks are gated which
eventually will result in data CRC, command CRC/timeout errors.
To overcome this h/w limitation, the DLL needs to be re-initialized
and restored with its old settings once clocks are ungated.

Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c