diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-01-21 01:26:49 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-02-02 10:27:43 +0530 |
commit | 04b447df1d098dcd7d133203a310a6d415875547 (patch) | |
tree | e95c1618a7fbaaea8f9082770c631c4a000902bd /tools/perf/scripts/python/syscall-counts.py | |
parent | 38bb34393804b79eff647bdf96762db5efce392c (diff) |
opp: Make _set_opp_custom() work without regulators
Check whether OPP table has regulators in _set_opp_custom() and set up
dev_pm_set_opp_data accordingly. Now _set_opp_custom() works properly,
i.e. it doesn't crash if OPP table doesn't have assigned regulators.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
[ Viresh: Rearrange the routine a bit ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions