opp: Implement dev_pm_opp_set_opp()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Jan 2021 06:45:36 +0000 (12:15 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 04:58:07 +0000 (10:28 +0530)
commitabbe348340c7df9e08fd7c24491c1be31ab65370
tree6f32224a209c63c6da8b1d57e1a9d0b525ba4162
parent509e4777ca41d30808deda5ae3c1e09e3f58a33f
opp: Implement dev_pm_opp_set_opp()

The new helper dev_pm_opp_set_opp() can be used for configuring the
devices for a particular OPP and can be used by different type of
devices, even the ones which don't change frequency (like power
domains).

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
drivers/opp/core.c
include/linux/pm_opp.h