diff options
| author | Bjorn Andersson <[email protected]> | 2021-07-03 00:54:15 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2021-07-19 20:20:50 +0000 |
| commit | d43b3a989bc8c06fd4bbb69a7500d180db2d68e8 (patch) | |
| tree | 4ee974fa61a4d56acdf46d669ca8888e08aafe8a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | soc: qcom: aoss: Add generic compatible (diff) | |
| download | kernel-d43b3a989bc8c06fd4bbb69a7500d180db2d68e8.tar.gz kernel-d43b3a989bc8c06fd4bbb69a7500d180db2d68e8.zip | |
soc: qcom: rpmhpd: Use corner in power_off
rpmhpd_aggregate_corner() takes a corner as parameter, but in
rpmhpd_power_off() the code requests the level of the first corner
instead.
In all (known) current cases the first corner has level 0, so this
change should be a nop, but in case that there's a power domain with a
non-zero lowest level this makes sure that rpmhpd_power_off() actually
requests the lowest level - which is the closest to "power off" we can
get.
While touching the code, also skip the unnecessary zero-initialization
of "ret".
Fixes: 279b7e8a62cc ("soc: qcom: rpmhpd: Add RPMh power domain driver")
Reviewed-by: Rajendra Nayak <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Sibi Sankar <[email protected]>
Tested-by: Sibi Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
