]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: SCMI: Don't validate the frequency table twice
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 3 Apr 2018 10:07:38 +0000 (15:37 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Apr 2018 06:39:55 +0000 (08:39 +0200)
commitaae2a64ec55c1d7c1c9c2b8ec23f1be63e460f5b
tree014a4c12d4700e85b523e1ea540d6685d14312af
parentf0e84ed8ac6d411cb4ab5d2e08f914baf1cde3fe
cpufreq: SCMI: Don't validate the frequency table twice

The cpufreq core is already validating the CPU frequency table after
calling the ->init() callback of the cpufreq drivers and the drivers
don't need to do the same anymore. Though they need to set the
policy->freq_table field directly from the ->init() callback now.

Stop validating the frequency table from SCMI driver.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/scmi-cpufreq.c