Searched hist:"348 a2ec5f5a5af15509252dfc6a30fa190ac0203" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | cpufreq.c | diff 348a2ec5f5a5af15509252dfc6a30fa190ac0203 Tue Feb 19 17:24:25 CST 2019 Rafael J. Wysocki <rafael.j.wysocki@intel.com> cpufreq: Reorder and simplify cpufreq_update_policy()
In cpufreq_update_policy(), instead of updating new_policy.cur separately, which is kind of confusing, because cpufreq_set_policy() doesn't take that value into account directly anyway, make the copy of the existing policy after calling cpufreq_update_current_freq().
No intentional changes of behavior.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
|