mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00
ASoC: amd: acp: Add stream name to ACP PDM DMIC devices
Add for sof and legacy dai links to dummy DMIC codec. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patch.msgid.link/20241017210952.3586713-1-superm1@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
4d003b81f4
commit
b2385de2ae
@ -1567,6 +1567,7 @@ int acp_sofdsp_dai_links_create(struct snd_soc_card *card)
|
||||
|
||||
if (drv_data->dmic_cpu_id == DMIC) {
|
||||
links[i].name = "acp-dmic-codec";
|
||||
links[i].stream_name = "DMIC capture";
|
||||
links[i].id = DMIC_BE_ID;
|
||||
links[i].codecs = dmic_codec;
|
||||
links[i].num_codecs = ARRAY_SIZE(dmic_codec);
|
||||
@ -1759,6 +1760,7 @@ int acp_legacy_dai_links_create(struct snd_soc_card *card)
|
||||
|
||||
if (drv_data->dmic_cpu_id == DMIC) {
|
||||
links[i].name = "acp-dmic-codec";
|
||||
links[i].stream_name = "DMIC capture";
|
||||
links[i].id = DMIC_BE_ID;
|
||||
if (drv_data->dmic_codec_id == DMIC) {
|
||||
links[i].codecs = dmic_codec;
|
||||
|
Loading…
Reference in New Issue
Block a user