diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-23 09:55:01 +0800 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-07-11 11:31:11 -0500 |
| commit | 75e918aa876440d8ad559a11d6ab87bddb1ed79a (patch) | |
| tree | 52a21b40e3d02d363e06b3eb981a94d1b50a6403 /tools/perf/scripts/python/bin | |
| parent | cfe9b47ef18bdb737be480f3e539e9561ef74078 (diff) | |
soc: qcom: rpmh-rsc: manage PM notifiers with devres
rpmh_rsc_probe() registers CPU PM or genpd notifiers before populating
child devices. If child population fails, the CPU PM notifier path is not
unwound and the genpd path needs open-coded cleanup.
Use devm_pm_runtime_enable() for the genpd path and
devm_add_action_or_reset() for both notifier registrations. This makes
probe failure and driver detach use the same cleanup model while keeping
devm_of_platform_populate() responsible for child devices.
Fixes: 25092e6100ac ("soc: qcom: rpmh-rsc: Attach RSC to cluster PM domain")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260623015501.31129-1-pengpeng@iscas.ac.cn
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
