mmc: sdhci-of-esdhc: fix serious issue clock is always disabled
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 20 Jan 2020 09:48:35 +0000 (17:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Jan 2020 11:10:36 +0000 (12:10 +0100)
commit80c7482356ac9f08dbdb01a3c8485401494d9e05
treedd02f5c57d662cbc2b3fa0a09eabdf1d6f6b0a6b
parent429d939c194b2e81e4a669671efc8c0c2fb9887e
mmc: sdhci-of-esdhc: fix serious issue clock is always disabled

This patch is to fix a serious issue that clock is always disabled
in esdhc_of_set_clock().

Fixes: 1b21a701aed9 ("mmc: sdhci-of-esdhc: fix clock setting for different controller versions")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Link: https://lore.kernel.org/r/20200120094835.28050-1-yangbo.lu@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c