Re: [PATCH v2] soc: qcom: rpmh-rsc: manage PM notifiers with devres

From: Bjorn Andersson

Date: Sat Jul 11 2026 - 12:44:28 EST



On Tue, 23 Jun 2026 09:55:01 +0800, Pengpeng Hou wrote:
> 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.
>
> [...]

Applied, thanks!

[1/1] soc: qcom: rpmh-rsc: manage PM notifiers with devres
commit: 75e918aa876440d8ad559a11d6ab87bddb1ed79a

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>