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

Commit d578a67b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "mmc: core: fix the clock scaling handling""

parents ab896376 7403688d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -495,11 +495,6 @@ static int mmc_devfreq_set_target(struct device *dev,
	if (!clk_scaling->enable)
		goto out;

	if (*freq == UINT_MAX)
		*freq = clk_scaling->freq_table[1];
	else
		*freq = clk_scaling->freq_table[0];

	pr_debug("%s: target freq = %lu (%s)\n", mmc_hostname(host),
		*freq, current->comm);