mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-rafael' of https://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq into pm-devfreq
Pull a devfreq fix for v4.5 from MyungJoo Ham. * 'for-rafael' of https://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq: PM / devfreq: tegra: Set freq in rate callback
This commit is contained in:
commit
351228eaa2
|
@ -500,6 +500,8 @@ static int tegra_devfreq_target(struct device *dev, unsigned long *freq,
|
||||||
clk_set_min_rate(tegra->emc_clock, rate);
|
clk_set_min_rate(tegra->emc_clock, rate);
|
||||||
clk_set_rate(tegra->emc_clock, 0);
|
clk_set_rate(tegra->emc_clock, 0);
|
||||||
|
|
||||||
|
*freq = rate;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue