Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: Intel: Fix Kconfig for ACPI=n

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

Hi,

A recent attempt to fix a missing symbol when
CONFIG_SND_SOC_SDCA=m and CONFIG_SND_SOC_ACPI_INTEL_SDCA_QUIRKS=y
caused unmet direct dependency warning with randconig.

The reason is that SND_SOC_ACPI_INTEL_MATCH is needed to be compilable
even if ACPI is not selected, modules have dependency on exported
symbols from it.

The only solution for these kconfig dependencies seams to be to
only select SND_SOC_SDCA if ACPI is enabled from
SND_SOC_ACPI_INTEL_SDCA_QUIRKS.

Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: Intel: Kconfig: Only select SND_SOC_SDCA if ACPI is enabled
ASoC: Intel: Kconfig: Revert make SND_SOC_ACPI_INTEL_MATCH depend on
ACPI

sound/soc/intel/Kconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

--
2.47.0

+2 -3
+2 -3
sound/soc/intel/Kconfig
··· 70 70 71 71 config SND_SOC_ACPI_INTEL_MATCH 72 72 tristate 73 - depends on ACPI 74 - select SND_SOC_ACPI 73 + select SND_SOC_ACPI if ACPI 75 74 select SND_SOC_ACPI_INTEL_SDCA_QUIRKS 76 75 # this option controls the compilation of ACPI matching tables and 77 76 # helpers and is not meant to be selected by the user. 78 77 79 78 config SND_SOC_ACPI_INTEL_SDCA_QUIRKS 80 79 tristate 81 - select SND_SOC_SDCA 80 + select SND_SOC_SDCA if ACPI 82 81 83 82 endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL 84 83