|
@@ -66,8 +66,8 @@ static int dt_get_transition_latency(struct device *cpu_dev)
|
|
|
|
|
|
parent = of_find_node_by_path("/cpus");
|
|
|
if (!parent) {
|
|
|
- pr_err("failed to find OF /cpus\n");
|
|
|
- return -ENOENT;
|
|
|
+ pr_info("Failed to find OF /cpus. Use CPUFREQ_ETERNAL transition latency\n");
|
|
|
+ return CPUFREQ_ETERNAL;
|
|
|
}
|
|
|
|
|
|
for_each_child_of_node(parent, np) {
|
|
@@ -81,7 +81,8 @@ static int dt_get_transition_latency(struct device *cpu_dev)
|
|
|
return transition_latency;
|
|
|
}
|
|
|
|
|
|
- return -ENODEV;
|
|
|
+ pr_info("clock-latency isn't found, use CPUFREQ_ETERNAL transition latency\n");
|
|
|
+ return CPUFREQ_ETERNAL;
|
|
|
}
|
|
|
|
|
|
static struct cpufreq_arm_bL_ops dt_bL_ops = {
|