From: Mario Limonciello Date: Thu, 17 Oct 2024 21:09:52 +0000 (-0500) Subject: ASoC: amd: acp: Add stream name to ACP PDM DMIC devices X-Git-Tag: v6.13-rc1~123^2~2^2~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2385de2ae11bdd34855276e0a254109469227eb;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://patch.msgid.link/20241017210952.3586713-1-superm1@kernel.org Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/acp/acp-mach-common.c b/sound/soc/amd/acp/acp-mach-common.c index 2394aa061265f..e38b478e15f30 100644 --- a/sound/soc/amd/acp/acp-mach-common.c +++ b/sound/soc/amd/acp/acp-mach-common.c @@ -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;