Re: [PATCH] ASoC: amd: ps: fix the pcm device numbering for acp pdm dmic

From: Mario Limonciello

Date: Mon Mar 30 2026 - 10:16:12 EST




On 3/30/26 04:46, Syed Saba Kareem wrote:
Fixed PCM device numbering is required for acp pdm dmic pcm device
to have a common UCM changes.
Set the 'use_dai_pcm_id' flag true in acp pdm dma driver for acp 6.3
platform. To fix the pcm device numbering based on dai_link->id.

Signed-off-by: Syed Saba Kareem <syed.sabakareem@xxxxxxx>

I suspect we want a stable tag on this too. Maybe Mark can add when committing.

---
sound/soc/amd/ps/ps-pdm-dma.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/amd/ps/ps-pdm-dma.c b/sound/soc/amd/ps/ps-pdm-dma.c
index c6cd844d458c..04c014349347 100644
--- a/sound/soc/amd/ps/ps-pdm-dma.c
+++ b/sound/soc/amd/ps/ps-pdm-dma.c
@@ -352,6 +352,7 @@ static const struct snd_soc_component_driver acp63_pdm_component = {
.hw_params = acp63_pdm_dma_hw_params,
.pointer = acp63_pdm_dma_pointer,
.pcm_new = acp63_pdm_dma_new,
+ .use_dai_pcm_id = true,
};
static int acp63_pdm_audio_probe(struct platform_device *pdev)