]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: tegra: properly disable card clock
authorLucas Stach <dev@lynxeye.de>
Mon, 29 Feb 2016 20:56:24 +0000 (21:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 14:33:45 +0000 (07:33 -0700)
commit6eadae1a14afdb5352d900a2577084c13ae273a3
tree3ac5e0cbc715599b7d44dc6c86fa7b4b4ea56aa7
parent8af2553596473a9b94ede36e78cfe75f5c16dd91
mmc: tegra: properly disable card clock

commit 3491b69045b1926a198ba70dc1296ca253f2fbdd upstream.

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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-tegra.c