Skip to content

Commit ad6d689

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: sof_amd_sdw: add logic to get cpu_pin_id for ACP7.0/ACP7.1 platforms
Add logic to get cpu_pin_id for creating SoundWire dai link for ACP7.0/ACP7.1 platforms. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20250506120823.3621604-3-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6b83ba4 commit ad6d689

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

sound/soc/amd/acp/acp-sdw-sof-mach.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ static int create_sdw_dailink(struct snd_soc_card *card,
128128
if (ret)
129129
return ret;
130130
break;
131+
case ACP70_PCI_REV:
132+
case ACP71_PCI_REV:
133+
ret = get_acp70_cpu_pin_id(ffs(sof_end->link_mask - 1),
134+
*be_id, &cpu_pin_id, dev);
135+
if (ret)
136+
return ret;
137+
break;
131138
default:
132139
return -EINVAL;
133140
}

0 commit comments

Comments
 (0)