The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/9] ASoC: amd: Use devm_pm_runtime_enable()
@ 2026-12-04 11:16 phucduc.bui
  2026-12-04 11:16 ` [PATCH v2 1/9] ASoC: amd: ps: " phucduc.bui
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: phucduc.bui @ 2026-12-04 11:16 UTC (permalink / raw)
  To: Mark Brown, Vijendar Mukunda, Venkata Prasad Potturu,
	Syed Saba Kareem
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Kees Cook,
	Kuninori Morimoto, wangdicheng, Chris Bainbridge, linux-sound,
	linux-kernel, bui duc phuc

From: bui duc phuc <phucduc.bui@gmail.com>

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@mail.gmail.com/

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-12-04 12:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 11:16 [PATCH v2 0/9] ASoC: amd: Use devm_pm_runtime_enable() phucduc.bui
2026-12-04 11:16 ` [PATCH v2 1/9] ASoC: amd: ps: " phucduc.bui
2026-12-04 11:16 ` [PATCH v2 2/9] ASoC: amd: ps: Simplify component registration phucduc.bui
2026-12-04 11:16 ` [PATCH v2 3/9] ASoC: amd: raven: Use devm_pm_runtime_enable() phucduc.bui
2026-12-04 11:52   ` Mukunda,Vijendar
2026-12-04 11:16 ` [PATCH v2 4/9] ASoC: amd: raven: Preserve probe error codes phucduc.bui
2026-12-04 11:16 ` [PATCH v2 5/9] ASoC: amd: renoir: Use devm_pm_runtime_enable() phucduc.bui
2026-12-04 11:16 ` [PATCH v2 6/9] ASoC: amd: renoir: Preserve probe error codes phucduc.bui
2026-12-04 11:16 ` [PATCH v2 7/9] ASoC: amd: vangogh: Use devm_pm_runtime_enable() phucduc.bui
2026-12-04 11:16 ` [PATCH v2 8/9] ASoC: amd: yc: " phucduc.bui
2026-12-04 11:16 ` [PATCH v2 9/9] ASoC: amd: yc: Simplify component registration phucduc.bui
2026-12-04 12:46 ` [PATCH v2 0/9] ASoC: amd: Use devm_pm_runtime_enable() Syed Saba Kareem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox