cpufreq: ARM big LITTLE DT: Return CPUFREQ_ETERNAL if clock-latency isn't found
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 29 Apr 2013 13:24:46 +0000 (13:24 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 May 2013 12:04:15 +0000 (14:04 +0200)
commit3c792e0fe17858105b72516f709c48fc8e4a7523
treef48fdcdcc43ef54ca89861120a51859436ac357a
parent996905f3334506296c8a4bec63695bcf7a9df159
cpufreq: ARM big LITTLE DT: Return CPUFREQ_ETERNAL if clock-latency isn't found

If "/cpus" node isn't present or "clock-latency" isn't defined we are
returning error currently. Let's return CPUFREQ_ETERNAL instead, so
that we don't fail.

Flag appropriate messages to user in such cases.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/arm_big_little_dt.c