[PATCH v2 0/9] ASoC: amd: Use devm_pm_runtime_enable()

From: phucduc . bui

Date: Fri Dec 04 2026 - 06:17:07 EST


From: bui duc phuc <phucduc.bui@xxxxxxxxx>

Hi all,

Use devm_pm_runtime_enable() in AMD DMA drivers to
automatically disable runtime PM when the devices are removed.

This allows removing their remove callbacks.

Link v1:
https://lore.kernel.org/all/CAABR9nEtxzKfPEfD_ayUf5m8yMY67SEyH4fytz06UE4W1AZD2w@xxxxxxxxxxxxxx/

Changes in v2:
- Enable runtime PM before registering IRQs and components.
- Restore ACP_EXTERNAL_INTR_ENB in Raven and Vangogh probe functions.
- Preserve original error codes instead of converting them to -ENODEV.
- Remove redundant error messages.

Compile-tested only.

Best regards,
Phuc

bui duc phuc (9):
ASoC: amd: ps: Use devm_pm_runtime_enable()
ASoC: amd: ps: Simplify component registration
ASoC: amd: raven: Use devm_pm_runtime_enable()
ASoC: amd: raven: Preserve probe error codes
ASoC: amd: renoir: Use devm_pm_runtime_enable()
ASoC: amd: renoir: Preserve probe error codes
ASoC: amd: vangogh: Use devm_pm_runtime_enable()
ASoC: amd: yc: Use devm_pm_runtime_enable()
ASoC: amd: yc: Simplify component registration

sound/soc/amd/ps/ps-pdm-dma.c | 20 +++++----------
sound/soc/amd/ps/ps-sdw-dma.c | 21 +++++----------
sound/soc/amd/raven/acp3x-pcm-dma.c | 37 ++++++++++++---------------
sound/soc/amd/renoir/acp3x-pdm-dma.c | 31 ++++++++--------------
sound/soc/amd/vangogh/acp5x-pcm-dma.c | 34 ++++++++++--------------
sound/soc/amd/yc/acp6x-pdm-dma.c | 20 +++++----------
6 files changed, 61 insertions(+), 102 deletions(-)

--
2.43.0