mmc: sdhci-of-esdhc: disable SD clock for clock value 0
authoryangbo lu <yangbo.lu@nxp.com>
Thu, 21 Sep 2017 08:43:31 +0000 (16:43 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:40:09 +0000 (11:40 +0100)
commitdd3f6983b4a468efca9e8caa0e2b4aa20946d801
treee5767b670d684dcea6f8e6ce0958b1e281c13381
parentcdaba732ff2fde83685bce889eddc70964404381
mmc: sdhci-of-esdhc: disable SD clock for clock value 0

SD clock should be disabled for clock value 0. It's not
right to just return. This may cause failure of signal
voltage switching.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c