Unverified Commit 8121de33 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Intel: Kconfig: fix undefined symbol:

Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:

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.
parents b3296f90 845cb1dd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
# 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