diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-07-02 09:33:23 +0530 |
---|---|---|
committer | Dave Gerlach <d-gerlach@ti.com> | 2014-07-25 16:13:21 -0500 |
commit | 89ced29aa11fe2e2ff55233d21a013906456f860 (patch) | |
tree | 28cf66362f2aeedc7642be13bc3a889ff0f5a64d /Documentation | |
parent | 45a5d5451318bff5f76aad40d85cad1d58fdfe3f (diff) |
cpufreq: cpu0: OPPs can be populated at runtime
OPPs can be populated statically, via DT, or added at run time with
dev_pm_opp_add().
While this driver handles the first case correctly, it would fail to populate
OPPs added at runtime. Because call to of_init_opp_table() would fail as there
are no OPPs in DT and probe will return early.
To fix this, remove error checking and call dev_pm_opp_init_cpufreq_table()
unconditionally.
Update bindings as well.
Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[d-gerlach@ti.com: Modified to apply after voltage notifier series]
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt index f055515d2b6..0244dee8fef 100644 --- a/Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt +++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt @@ -8,8 +8,7 @@ Both required and optional properties listed below must be defined under node /cpus/cpu@0. Required properties: -- operating-points: Refer to Documentation/devicetree/bindings/power/opp.txt - for details +- None Optional properties: - clock-latency: Specify the possible maximum transition latency for clock, |