Re: [PATCH 01/11] ASoC: tegra: asrc: Use devm_pm_runtime_enable()
From: Bui Duc Phuc
Date: Sat Dec 05 2026 - 04:17:21 EST
Hi Thierry,
Thank you for your review.
>
> Is there a specific reason why devm_pm_runtime_enable() was moved before
> the devm_snd_soc_register_component(). It doesn't sound like it makes
> much of a difference, and it may actually be better this way because it
> avoids registering the component and having to unregister it if
> devm_pm_runtime_enable() failed, but it'd be better to document that
> change.
>
Yes, it was intentional, sorry for not documenting it.
The ordering varies between drivers, but enabling runtime PM before
registering the component is the pattern I've seen most commonly, and as
you pointed out, it also avoids registering the component only to
unregister it again if devm_pm_runtime_enable() fails.
> Other than that, this series honestly could've been a single patch. None
> of the above are really worth a new revision, though.
>
Noted on the single patch, thanks!
Best regards,
Phuc