commit | 04b447df1d098dcd7d133203a310a6d415875547 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Thu Jan 21 01:26:49 2021 +0300 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Tue Feb 02 10:27:43 2021 +0530 |
tree | e95c1618a7fbaaea8f9082770c631c4a000902bd | |
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>