diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-09-25 15:17:11 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-10-06 12:37:34 +0530 |
commit | 892c60c6b48dfada25b8cc7aad907b93c4dbff93 (patch) | |
tree | 1295cfb702d41695d7c1bd3f0f9000df07b556ee /drivers/opp | |
parent | 3166383da081461244918aeed7ad028ef11b17cc (diff) | |
download | linux-892c60c6b48dfada25b8cc7aad907b93c4dbff93.tar.gz linux-892c60c6b48dfada25b8cc7aad907b93c4dbff93.tar.bz2 linux-892c60c6b48dfada25b8cc7aad907b93c4dbff93.zip |
OPP: Switch to use dev_pm_domain_set_performance_state()
To support performance scaling for any kinds of PM domains, let's move away
from using the genpd specific API, dev_pm_genpd_set_performance_state(), to
the common dev_pm_domain_set_performance_state().
No intended functional impact at this point.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp')
-rw-r--r-- | drivers/opp/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/opp/core.c b/drivers/opp/core.c index ca8d1304b508..60dca60ac4af 100644 --- a/drivers/opp/core.c +++ b/drivers/opp/core.c @@ -1030,7 +1030,7 @@ static int _set_performance_state(struct device *dev, struct device *pd_dev, if (!pd_dev) return 0; - ret = dev_pm_genpd_set_performance_state(pd_dev, pstate); + ret = dev_pm_domain_set_performance_state(pd_dev, pstate); if (ret) { dev_err(dev, "Failed to set performance state of %s: %d (%d)\n", dev_name(pd_dev), pstate, ret); |