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 be enabled on other architectures. Allow exception for compile
tests.

Fixes: 274d79e518 ("ASoC: Intel: avs: Configure modules according to their type")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20220425091646.545216-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Amadeusz Sławiński 2022-04-25 11:16:45 +02:00 committed by Mark Brown
parent b1d1b02594
commit 47a1886a61
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -211,7 +211,8 @@ config SND_SOC_INTEL_KEEMBAY
config SND_SOC_INTEL_AVS
tristate "Intel AVS driver"
depends on PCI && ACPI
depends on (X86 && ACPI) || COMPILE_TEST
depends on PCI
depends on COMMON_CLK
select SND_SOC_ACPI
select SND_SOC_TOPOLOGY