diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-05-17 11:25:11 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-05-22 12:42:34 +0200 |
commit | 92a9b5c291c72aa9899021699458f0b6e328b940 (patch) | |
tree | 70063db2fa775cf57c182dc00df25929183ece04 /lib/int_sqrt.c | |
parent | b5f14720a6421aab841d9f03f0129cfbe7db5133 (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-and-tested-by: Jon Medhurst <tixy@linaro.org>
Reviewed-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions