ASoC: amd: acp: select CONFIG_SND_SOC_ACPI
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Oct 2021 11:36:57 +0000 (13:36 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 Oct 2021 13:57:16 +0000 (14:57 +0100)
commit62a30322607f120e10ea1a7d07895b5af8049baa
tree15630a1e9ac4a617809d612838aff0e96df2de43
parent1560081f4c4b5f0919244af7fc63d3d0de9db949
ASoC: amd: acp: select CONFIG_SND_SOC_ACPI

The acp-platform driver now needs the ACPI helpers:

ld.lld: error: undefined symbol: snd_soc_acpi_find_machine
>>> referenced by acp-platform.c
>>>               soc/amd/acp/acp-platform.o:(acp_machine_select) in archive sound/built-in.a

ld.lld: error: undefined symbol: snd_soc_acpi_codec_list
>>> referenced by acp-renoir.c
>>>               soc/amd/acp/acp-renoir.o:(snd_soc_acpi_amd_acp_machines) in archive sound/built-in.a

Other drivers using this interface, select SND_SOC_ACPI, so do the
same thing here.

Fixes: e646b51f5dd5 ("ASoC: amd: acp: Add callback for machine driver on ACP")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211029113714.966823-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig