diff options
author | Mark Brown <[email protected]> | 2024-11-07 00:22:05 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-11-07 00:22:05 +0000 |
commit | 8121de33460d0f1441e75b6e52dae9317efd0656 (patch) | |
tree | a6bb30a1317e2b7e3e0e19573ee5e9c5831a48d0 | |
parent | b3296f9095d6ad24723e5ad89c28acc317d0c3cf (diff) | |
parent | 845cb1ddf1fc2212f876db6df9d3277badd35709 (diff) |
ASoC: Intel: Kconfig: fix undefined symbol:
Merge series from Bard Liao <[email protected]>:
Fix the ld.lld: error: undefined symbol: sdca_device_quirk_match issue
when CONFIG_SND_SOC_SDCA=m and CONFIG_SND_SOC_ACPI_INTEL_SDCA_QUIRKS=y.
-rw-r--r-- | sound/soc/intel/Kconfig | 5 | ||||
-rw-r--r-- | sound/soc/sdca/Kconfig | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index 14461dee3e52..46b45f390ae9 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -70,14 +70,15 @@ 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. config SND_SOC_ACPI_INTEL_SDCA_QUIRKS tristate - imply SND_SOC_SDCA + select SND_SOC_SDCA endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL diff --git a/sound/soc/sdca/Kconfig b/sound/soc/sdca/Kconfig index 07f6822fa614..ee20b9914aa1 100644 --- a/sound/soc/sdca/Kconfig +++ b/sound/soc/sdca/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config SND_SOC_SDCA - tristate "ASoC SDCA library" + tristate depends on ACPI help This option enables support for the MIPI SoundWire Device |