Skip to contentSkip to conversation

ASoC: SOF: amd: add ACPI dependency

PATCH In review Arnd Bergmann 2 participants 2 messages Oct 20 – Oct 21

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: SOF: amd: add ACPI dependency

From: Arnd Bergmann <[email protected]>

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")
---
 sound/soc/sof/amd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/sof/amd/Kconfig +1 -0
index d64f682cfbea..baa0fbf07ab2 100644
@@ -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.
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 1 line · Arnd Bergmann

ASoC: SOF: amd: add ACPI dependency

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4

Thanks!

[1/1] ASoC: SOF: amd: add ACPI dependency

      https://git.kernel.org/broonie/sound/c/bef34efba74d

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark