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

Commit 86951c6d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: sdhci: Avoid accessing register when clocks are turned off"

parents cfe49d18 bf89621d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1597,6 +1597,7 @@ void sdhci_set_clock(struct sdhci_host *host, unsigned int clock)

	host->mmc->actual_clock = 0;

	if (host->clock)
		sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);

	if (clock == 0)