ASoC: amd: acp: fix SND_SOC_AMD_ACP_PCI depdenencies
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Jul 2023 13:08:37 +0000 (15:08 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 19 Jul 2023 13:31:21 +0000 (14:31 +0100)
commit4edc07fc7fe1a9eec1a4ebc518d2dec222382f43
treea8a08ab441fc95e7d5c35b99cea1841398b48bbe
parent4619dd77e66d0ac834afbc55937937a8745a4149
ASoC: amd: acp: fix SND_SOC_AMD_ACP_PCI depdenencies

The new PM functions require code that is part of the snd-acp-legacy-common
module:

x86_64-linux-ld: sound/soc/amd/acp/acp-pci.o: in function `snd_acp_resume':
acp-pci.c:(.text+0x23): undefined reference to `acp_init'
x86_64-linux-ld: acp-pci.c:(.text+0x58): undefined reference to `acp_enable_interrupts'
x86_64-linux-ld: sound/soc/amd/acp/acp-pci.o: in function `snd_acp_suspend':
acp-pci.c:(.text+0x89): undefined reference to `acp_deinit'
x86_64-linux-ld: sound/soc/amd/acp/acp-pci.o: in function `acp_pci_remove':
acp-pci.c:(.text+0xec): undefined reference to `acp_deinit'
x86_64-linux-ld: sound/soc/amd/acp/acp-pci.o: in function `acp_pci_probe':
acp-pci.c:(.text+0x26b): undefined reference to `acp_init'

Select that Kconfig symbol as is done for the other frontends.

Fixes: 088a40980efbc ("ASoC: amd: acp: add pm ops support for acp pci driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230719130846.633701-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig