Subject: linux-next: build failure after merge of the sound-asoc tree

From: Stephen Rothwell <[email-masked]>
Date: Fri, 8 Nov 2024 18:50:37 +1100

Hi all,

After merging the sound-asoc tree, today's linux-next build (powerpc
allyesconfig) failed like this:

ld: sound/soc/intel/common/soc-acpi-intel-mtl-match.o:(.data.rel+0x6a0): undefined reference to `snd_soc_acpi_intel_sdca_is_device_rt712_vb'

Caused by commit

  5703ab86ff7b ("ASoC: Intel: soc-acpi: add is_device_rt712_vb() helper")

CONFIG_SND_SOC_ACPI_INTEL_MATCH is enabled even though CONFIG_ACPI is not.
Presumably as a result of the previous warning I reported.

I have applied the following patch for today (a revert of the above
commit did not easily work).

From: Stephen Rothwell <[email-masked]>
Date: Fri, 8 Nov 2024 18:18:39 +1100
Subject: [PATCH] remove COMPILE_TEST from SND_SOC_INTEL_SST_TOPLEVEL for now

Signed-off-by: Stephen Rothwell <[email-masked]>
---
 sound/soc/intel/Kconfig     | 2 +-
 sound/soc/sof/intel/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index 46b45f390ae9..0a368df2874e 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -2,7 +2,7 @@
 config SND_SOC_INTEL_SST_TOPLEVEL
 	bool "Intel ASoC SST drivers"
 	default y
-	depends on X86 || COMPILE_TEST
+	depends on X86
 	select SND_SOC_INTEL_MACH
 	help
 	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig
index 2c43558d96b9..3ef861187e6c 100644
--- a/sound/soc/sof/intel/Kconfig
+++ b/sound/soc/sof/intel/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config SND_SOC_SOF_INTEL_TOPLEVEL
 	bool "SOF support for Intel audio DSPs"
-	depends on X86 || COMPILE_TEST
+	depends on X86
 	help
 	  This adds support for Sound Open Firmware for Intel(R) platforms.
 	  Say Y if you have such a device.
-- 
2.45.2

-- 
Cheers,
Stephen Rothwell