Skip to content

Commit 76b5a3b

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: ps: fix the pcm device numbering for acp 6.3 platform
Fixed PCM device numbering is required for defining common alsa ucm changes for generic soundwire machine driver for legacy(No DSP) stack. Ex: For Headphone playback use case, use PCM device number as 0. For Headset mic Capture use case, PCM device number as 1. Set the 'use_dai_pcm_id' flag true in soundwire dma driver for acp 6.3 platform. This will fix the pcm device numbering based on dai_link->id. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20241113115223.3274868-7-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2981d9b commit 76b5a3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/amd/ps/ps-sdw-dma.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ static const struct snd_soc_component_driver acp63_sdw_component = {
445445
.trigger = acp63_sdw_dma_trigger,
446446
.pointer = acp63_sdw_dma_pointer,
447447
.pcm_construct = acp63_sdw_dma_new,
448+
.use_dai_pcm_id = true,
449+
448450
};
449451

450452
static int acp63_sdw_platform_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)