Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7582c26c authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Matt Wagantall
Browse files

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: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
parent 77c937bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1968,7 +1968,7 @@ static void sdhci_do_set_ios(struct sdhci_host *host, struct mmc_ios *ios)
		sdhci_set_power(host, ios->power_mode, ios->vdd);
	}
	if (!ios->clock)
		sdhci_set_clock(host, ios->clock);
		host->ops->set_clock(host, ios->clock);

	mmiowb();
}