aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-04-29 09:24:45 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-05-12 08:04:15 -0400
commit996905f3334506296c8a4bec63695bcf7a9df159 (patch)
tree268269cf36b4015f73fdb09277de8a3272753574
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>
-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 44be3115375c..d5ae4d2362e3 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)
78 of_node_put(np); 78 of_node_put(np);
79 of_node_put(parent); 79 of_node_put(parent);
80 80
81 return 0; 81 return transition_latency;
82 } 82 }
83 83
84 return -ENODEV; 84 return -ENODEV;