aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2014-07-11 20:24:19 +0530
committerRafael J. Wysocki <[email protected]>2014-07-16 15:12:52 +0200
commit1bf8cc3d017575a38d4361f56ccc0a670a16bcd9 (patch)
tree1b85c86196b6089907f7e56b7a1220b884b4194d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent2fa1adc07089020984d52bb55c5af0b9d86dff21 (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 <[email protected]> Tested-by: Stephen Boyd <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions