mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
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>
This commit is contained in:
parent
6b83ba4bc3
commit
ad6d689e77
|
|
@ -128,6 +128,13 @@ static int create_sdw_dailink(struct snd_soc_card *card,
|
|||
if (ret)
|
||||
return ret;
|
||||
break;
|
||||
case ACP70_PCI_REV:
|
||||
case ACP71_PCI_REV:
|
||||
ret = get_acp70_cpu_pin_id(ffs(sof_end->link_mask - 1),
|
||||
*be_id, &cpu_pin_id, dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user