summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_stats.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-05-16 19:19:37 +0530
committerJon Medhurst <tixy@linaro.org>2013-05-20 10:24:33 +0100
commitfaf864ee5412631f70109b7601b33f40d99e4c88 (patch)
tree3c70186293657fc0cc14b3995c8985c7d5bf897e /drivers/cpufreq/cpufreq_stats.c
parent524e97d55c0bc3460a8bdf7daa7e4d12bc6e79f8 (diff)
cpufreq: arm_big_little_dt: Register driver only if DT has valid data
If arm_big_little_dt driver is enabled, then it will always try to register with big LITTLE cpufreq core driver. In case DT doesn't have relevant data for cpu nodes, i.e. operating points aren't present, then we should exit early and shouldn't register with big LITTLE cpufreq core driver. Otherwise we will fail continuously from the driver->init() routine. This patch fixes this issue. Reported-by: Jon Medhurst <tixy@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_stats.c')
0 files changed, 0 insertions, 0 deletions