diff options
| -rw-r--r-- | drivers/cpufreq/omap-cpufreq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index 71e81bbf031b..68052b74d28f 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c | |||
| @@ -133,8 +133,10 @@ static int omap_cpu_init(struct cpufreq_policy *policy) | |||
| 133 | 133 | ||
| 134 | /* FIXME: what's the actual transition time? */ | 134 | /* FIXME: what's the actual transition time? */ |
| 135 | result = cpufreq_generic_init(policy, freq_table, 300 * 1000); | 135 | result = cpufreq_generic_init(policy, freq_table, 300 * 1000); |
| 136 | if (!result) | 136 | if (!result) { |
| 137 | dev_pm_opp_of_register_em(policy->cpus); | ||
| 137 | return 0; | 138 | return 0; |
| 139 | } | ||
| 138 | 140 | ||
| 139 | freq_table_free(); | 141 | freq_table_free(); |
| 140 | fail: | 142 | fail: |
