Home
last modified time | relevance | path

Searched hist:"1 b947c904c4831d787c1f17a6a6cd40c7144ba85" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.cdiff 1b947c904c4831d787c1f17a6a6cd40c7144ba85 Thu Feb 19 05:32:05 CST 2015 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: Throw warning when we try to get policy for an invalid CPU

Simply returning here with an error is not enough. It shouldn't be allowed at
all to try calling cpufreq_cpu_get() for an invalid CPU.

Add a WARN here to make it clear that it wouldn't be acceptable at all.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>