diff options
author | Amadeusz Sławiński <[email protected]> | 2022-04-25 11:16:45 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-25 13:59:05 +0100 |
commit | 47a1886a610aca6a55c18ee677f9176e73162e97 (patch) | |
tree | 4d822f3f15021c26ba476586441c88216e328b4e | |
parent | b1d1b02594d4599f0d3d5558ba9606a69df6381b (diff) |
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: 274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type")
Reviewed-by: Cezary Rojewski <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/intel/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index c364ddf22267..4ef9a1fee121 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -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 |