diff options
| author | 2021-01-21 01:26:49 +0300 | |
|---|---|---|
| committer | 2021-02-02 10:27:43 +0530 | |
| commit | 04b447df1d098dcd7d133203a310a6d415875547 (patch) | |
| tree | e95c1618a7fbaaea8f9082770c631c4a000902bd /tools/include/trace/git:/ssh:/git@git.zx2c4.com | |
| parent | opp: Prepare for ->set_opp() helper to work without regulators (diff) | |
| download | linux-dev-04b447df1d098dcd7d133203a310a6d415875547.tar.xz linux-dev-04b447df1d098dcd7d133203a310a6d415875547.zip | |
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/include/trace/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
