diff options
author | Viresh Kumar <[email protected]> | 2019-07-17 11:20:17 +0530 |
---|---|---|
committer | Viresh Kumar <[email protected]> | 2019-07-26 13:23:31 +0530 |
commit | baea35e4db17a72145c84a401f70d496c8ebf833 (patch) | |
tree | 15fcec90c2143ce73d41a623cd056bb1bd57a357 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) |
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 <[email protected]>
Tested-by: Rajendra Nayak <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions