Skip to content

Commit 8121de3

Browse files
committed
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.
2 parents b3296f9 + 845cb1d commit 8121de3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sound/soc/intel/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,15 @@ if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
7070

7171
config SND_SOC_ACPI_INTEL_MATCH
7272
tristate
73-
select SND_SOC_ACPI if ACPI
73+
depends on ACPI
74+
select SND_SOC_ACPI
7475
select SND_SOC_ACPI_INTEL_SDCA_QUIRKS
7576
# this option controls the compilation of ACPI matching tables and
7677
# helpers and is not meant to be selected by the user.
7778

7879
config SND_SOC_ACPI_INTEL_SDCA_QUIRKS
7980
tristate
80-
imply SND_SOC_SDCA
81+
select SND_SOC_SDCA
8182

8283
endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
8384

sound/soc/sdca/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
config SND_SOC_SDCA
4-
tristate "ASoC SDCA library"
4+
tristate
55
depends on ACPI
66
help
77
This option enables support for the MIPI SoundWire Device

0 commit comments

Comments
 (0)