* [PATCH] ASoC: SOF: amd: add ACPI dependency
@ 2026-10-20 8:46 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2026-10-20 8:46 UTC (permalink / raw)
To: Liam Girdwood, Peter Ujfalusi, Bard Liao, Daniel Baluta,
Mark Brown, Jaroslav Kysela, Takashi Iwai, Vijendar Mukunda
Cc: Arnd Bergmann, Kai Vehmanen, Pierre-Louis Bossart,
sound-open-firmware, linux-sound, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
The newly added acp_asp_mailbox.c file makes no sense without ACPI
and fails to build in that configuration:
sound/soc/sof/amd/acp_asp_mailbox.c: In function 'acp7x_asp_send_cmd':
sound/soc/sof/amd/acp_asp_mailbox.c:59:22: error: invalid use of undefined type 'struct acpi_device'
59 | handle = adev->handle;
| ^~
Address this by adding the required Kconfig dependency at the
top level here.
Fixes: cec3598305a6 ("ASoC: SOF: amd: add ASP carveout firmware loading for ACP7.B/7.F")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
sound/soc/sof/amd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/sof/amd/Kconfig b/sound/soc/sof/amd/Kconfig
index d64f682cfbea..baa0fbf07ab2 100644
--- a/sound/soc/sof/amd/Kconfig
+++ b/sound/soc/sof/amd/Kconfig
@@ -7,6 +7,7 @@
config SND_SOC_SOF_AMD_TOPLEVEL
tristate "SOF support for AMD audio DSPs"
depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD
+ depends on ACPI
depends on X86 || COMPILE_TEST
help
This adds support for Sound Open Firmware for AMD platforms.
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 8:46 [PATCH] ASoC: SOF: amd: add ACPI dependency Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox