All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: avs: Depend on CONFIG_ACPI
@ 2022-04-26 11:54 Amadeusz Sławiński
  2022-04-26 13:33 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 10+ messages in thread
From: Amadeusz Sławiński @ 2022-04-26 11:54 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown
  Cc: Pierre-Louis Bossart, Cezary Rojewski, kernel test robot,
	alsa-devel, Takashi Iwai, Amadeusz Sławiński

Apparently the assumption that driver can build without ACPI was too
optimistic as avs selects SND_SOC_ACPI which requires working ACPI
implementation. So depend on ACPI without COMPILE_TEST alternative.

Fixes: 47a1886a610a ("ASoC: Intel: avs: Enable AVS driver only on x86 platforms")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
---
 sound/soc/intel/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index be42c4eff165..9fdd6e32951f 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -211,8 +211,8 @@ config SND_SOC_INTEL_KEEMBAY
 
 config SND_SOC_INTEL_AVS
 	tristate "Intel AVS driver"
-	depends on (X86 && ACPI) || COMPILE_TEST
-	depends on PCI
+	depends on X86 || COMPILE_TEST
+	depends on PCI && ACPI
 	depends on COMMON_CLK
 	select SND_SOC_ACPI
 	select SND_SOC_TOPOLOGY
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-04-26 19:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 11:54 [PATCH] ASoC: Intel: avs: Depend on CONFIG_ACPI Amadeusz Sławiński
2022-04-26 13:33 ` Pierre-Louis Bossart
2022-04-26 17:08   ` Mark Brown
2022-04-26 18:07     ` Cezary Rojewski
2022-04-26 18:25       ` Mark Brown
2022-04-26 18:26         ` Pierre-Louis Bossart
2022-04-26 18:38           ` Mark Brown
2022-04-26 18:42             ` Pierre-Louis Bossart
2022-04-26 19:07           ` Amadeusz Sławiński
2022-04-26 19:16             ` Pierre-Louis Bossart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.