Skip to content

Commit b97f4da

Browse files
saba-kareembroonie
authored andcommitted
ASoC: amd: acp: add machine driver support for acp7.0
add machine driver support for ACP7.0 on legacy stack. Signed-off-by: Syed Saba Kareem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e84db12 commit b97f4da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/soc/amd/acp/acp-mach-common.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,12 @@ static struct snd_soc_dai_link_component platform_acp63_component[] = {
12661266
}
12671267
};
12681268

1269+
static struct snd_soc_dai_link_component platform_acp70_component[] = {
1270+
{
1271+
.name = "acp_asoc_acp70.0",
1272+
}
1273+
};
1274+
12691275
static struct snd_soc_dai_link_component sof_component[] = {
12701276
{
12711277
.name = "0000:04:00.5",
@@ -1692,6 +1698,9 @@ int acp_legacy_dai_links_create(struct snd_soc_card *card)
16921698
} else if (drv_data->platform == ACP63) {
16931699
links[i].platforms = platform_acp63_component;
16941700
links[i].num_platforms = ARRAY_SIZE(platform_acp63_component);
1701+
} else if (drv_data->platform == ACP70) {
1702+
links[i].platforms = platform_acp70_component;
1703+
links[i].num_platforms = ARRAY_SIZE(platform_acp70_component);
16951704
} else {
16961705
links[i].platforms = platform_component;
16971706
links[i].num_platforms = ARRAY_SIZE(platform_component);

0 commit comments

Comments
 (0)