Skip to content

Commit 892c60c

Browse files
storulfvireshk
authored andcommitted
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 <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 3166383 commit 892c60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/opp/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ static int _set_performance_state(struct device *dev, struct device *pd_dev,
10301030
if (!pd_dev)
10311031
return 0;
10321032

1033-
ret = dev_pm_genpd_set_performance_state(pd_dev, pstate);
1033+
ret = dev_pm_domain_set_performance_state(pd_dev, pstate);
10341034
if (ret) {
10351035
dev_err(dev, "Failed to set performance state of %s: %d (%d)\n",
10361036
dev_name(pd_dev), pstate, ret);

0 commit comments

Comments
 (0)