Skip to contentSkip to conversation

ASoC: Intel: avs: Enable AVS driver only on x86 platforms

PATCH Superseded Amadeusz Sławiński 2 participants 2 messages Apr 22, 2022

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: Intel: avs: Enable AVS driver only on x86 platforms

Only supported platform for AVS are x86 machines, so there is no reason for it to build on other architectures.

Fixes 274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type")
---
 sound/soc/intel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/Kconfig +1 -1
index c364ddf22267..5dc075673b97 100644
@@ -211,7 +211,7 @@ config SND_SOC_INTEL_KEEMBAY
 
 config SND_SOC_INTEL_AVS
 	tristate "Intel AVS driver"
-	depends on PCI && ACPI
+	depends on X86 && PCI && ACPI
 	depends on COMMON_CLK
 	select SND_SOC_ACPI
 	select SND_SOC_TOPOLOGY
Signature · 1 line
2.25.1
maintainer
#1 lore raw

sound/soc/intel/Kconfig config SND_SOC_INTEL_KEEMBAY · line 214

Quoted 7 lines · Amadeusz Sławiński

Only supported platform for AVS are x86 machines, so there is no reason for it to build on other architectures.

config SND_SOC_INTEL_AVS

sound/soc/intel/Kconfig +1 -1
 	tristate "Intel AVS driver"
-	depends on PCI && ACPI
+	depends on X86 && PCI && ACPI

If it actually builds please add an || COMPILE_TEST in there so people doing framework updates have to cover fewer build configurations for testing (this might make sense for the PCI and ACPI bits as well if those will compile out).