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

Commit dab53505 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Viresh Kumar
Browse files

cpufreq: qcom-hw: Register an Energy Model



Try and register an Energy Model from qcom-cpufreq-hw to allow
interested sub-systems like the task scheduler to use the provided
information.

Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
[ Viresh: Rebased over cpufreq related changes ]
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 7c139d3f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -231,6 +231,8 @@ static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
		goto error;
	}

	dev_pm_opp_of_register_em(policy->cpus);

	policy->fast_switch_possible = true;

	return 0;