mmc: sdhci: Call host ops set_clock when disabling clocks
sdhci_set_clock() has been turned into a generic library function, all calls to change clock rate needs to call the platform specific set_clock which will call into the generic library after performing platform specific operations. Fix this when disabling clocks. Change-Id: Ib01b1984291682dad709a3e38500ad31e2d3e4bc Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
This commit is contained in:
parent
e2dffecbe7
commit
6b5b56b28b
1 changed files with 1 additions and 1 deletions
|
@ -1898,7 +1898,7 @@ static void sdhci_do_set_ios(struct sdhci_host *host, struct mmc_ios *ios)
|
||||||
sdhci_set_power(host, ios->power_mode, ios->vdd);
|
sdhci_set_power(host, ios->power_mode, ios->vdd);
|
||||||
}
|
}
|
||||||
if (!ios->clock)
|
if (!ios->clock)
|
||||||
sdhci_set_clock(host, ios->clock);
|
host->ops->set_clock(host, ios->clock);
|
||||||
|
|
||||||
mmiowb();
|
mmiowb();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue