]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: Intel: Kconfig: Revert make SND_SOC_ACPI_INTEL_MATCH depend on ACPI
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 7 Nov 2024 10:02:04 +0000 (12:02 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 8 Nov 2024 13:35:27 +0000 (13:35 +0000)
The acpi-intel-match should be compiled even if ACPI is not selected.
The ACPI is not compile time requirement, but the exported symbols are
needed for other modules.

Fixes: b6bd3f3b6357 ("ASoC: Intel: Kconfig: make SND_SOC_ACPI_INTEL_MATCH depend on ACPI")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411070806.UhCRpZok-lkp@intel.com/
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241107100204.24952-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig

index 5021297728564beccae06f60a8be26bd6eca3f86..2db494b0e3cff0e3bbd280eb8a3fe25870893635 100644 (file)
@@ -70,8 +70,7 @@ if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
 
 config SND_SOC_ACPI_INTEL_MATCH
        tristate
-       depends on ACPI
-       select SND_SOC_ACPI
+       select SND_SOC_ACPI if ACPI
        select SND_SOC_ACPI_INTEL_SDCA_QUIRKS
        # this option controls the compilation of ACPI matching tables and
        # helpers and is not meant to be selected by the user.