diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-10-18 00:09:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-18 20:44:27 +0300 |
commit | b2385de2ae11bdd34855276e0a254109469227eb (patch) | |
tree | eb740d11f821572cd0d1e99c416e741e50b31ce0 /sound/soc/amd/acp/acp-mach-common.c | |
parent | 4d003b81f46737620c7f9194d305617dfdfce8fb (diff) | |
download | linux-b2385de2ae11bdd34855276e0a254109469227eb.tar.xz |
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>
Diffstat (limited to 'sound/soc/amd/acp/acp-mach-common.c')
-rw-r--r-- | sound/soc/amd/acp/acp-mach-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/acp-mach-common.c b/sound/soc/amd/acp/acp-mach-common.c index 2394aa061265..e38b478e15f3 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; |