aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-07-17 11:20:17 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2019-07-26 13:23:31 +0530
commitbaea35e4db17a72145c84a401f70d496c8ebf833 (patch)
tree15fcec90c2143ce73d41a623cd056bb1bd57a357 /drivers/rpmsg
parentLinus 5.3-rc1 (diff)
downloadlinux-dev-baea35e4db17a72145c84a401f70d496c8ebf833.tar.xz
linux-dev-baea35e4db17a72145c84a401f70d496c8ebf833.zip
opp: Not all power-domains are scalable
A device may have multiple power-domains and not all of them may be scalable (i.e. support performance states). But dev_pm_opp_attach_genpd() doesn't take that into account currently. Fix that by not verifying the names argument with "power-domain-names" DT property and finding the index into the required-opps array. The names argument will anyway get verified later on when we call dev_pm_domain_attach_by_name(). Fixes: 6319aee10e53 ("opp: Attach genpds to devices from within OPP core") Reported-by: Rajendra Nayak <rnayak@codeaurora.org> Tested-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions