summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/arm_big_little_dt.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-04-29 13:24:45 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-12 14:04:15 +0200
commit996905f3334506296c8a4bec63695bcf7a9df159 (patch)
tree268269cf36b4015f73fdb09277de8a3272753574 /drivers/cpufreq/arm_big_little_dt.c
parentbb08be78721bed02b147448d2cb404babc369cfe (diff)
cpufreq: ARM big LITTLE DT: Return correct transition latency
By mistake we are returning zero for successful call to dt_get_transition_latency(), whereas we should return transition_latency. Fix that. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/arm_big_little_dt.c')
-rw-r--r--drivers/cpufreq/arm_big_little_dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c
index 44be3115375..d5ae4d2362e 100644
--- a/drivers/cpufreq/arm_big_little_dt.c
+++ b/drivers/cpufreq/arm_big_little_dt.c
@@ -78,7 +78,7 @@ static int dt_get_transition_latency(struct device *cpu_dev)
of_node_put(np);
of_node_put(parent);
- return 0;
+ return transition_latency;
}
return -ENODEV;