mmc: tegra: properly disable card clock
authorLucas Stach <dev@lynxeye.de>
Mon, 29 Feb 2016 20:56:24 +0000 (21:56 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:10 +0000 (14:54 +0100)
commit3491b69045b1926a198ba70dc1296ca253f2fbdd
treeaa06f7ca2f48d0eb8460cccb3f7b8a633f78aed9
parentbcdc9f260bdce09913db1464be9817170d51044a
mmc: tegra: properly disable card clock

The new code to do the clock rate setting externally to the SDMMC
module has a shortcut to not propagate changes with a 0 rate to
the CAR by simply bailing out. This breaks proper cutting of the
card clock. Fix it by directly calling the correct sdhci function.

Fixes: a8e326a911d3 "mmc: tegra: implement module external clock change"
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c