]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: Intel: Kconfig: make SND_SOC_ACPI_INTEL_MATCH depend on ACPI
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 6 Nov 2024 05:58:09 +0000 (13:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 6 Nov 2024 14:15:14 +0000 (14:15 +0000)
SND_SOC_ACPI_INTEL_MATCH relies on ACPI functions. It will not work
if ACPI is not selected.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20241106055810.10123-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig

index 14461dee3e52ce01d9adff72ab4c27036aaced21..f644e94234280c2b33ebe51cbefb3111899e64be 100644 (file)
@@ -70,7 +70,8 @@ if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
 
 config SND_SOC_ACPI_INTEL_MATCH
        tristate
-       select SND_SOC_ACPI if ACPI
+       depends on ACPI
+       select SND_SOC_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.