cpufreq: ARM big LITTLE DT: Return correct transition latency
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 29 Apr 2013 13:24:45 +0000 (13:24 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 May 2013 12:04:15 +0000 (14:04 +0200)
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>
drivers/cpufreq/arm_big_little_dt.c

index 44be311..d5ae4d2 100644 (file)
@@ -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;