]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: Fix Kconfig for ACPI=n
authorMark Brown <broonie@kernel.org>
Sat, 9 Nov 2024 01:48:51 +0000 (01:48 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 9 Nov 2024 01:48:51 +0000 (01:48 +0000)
commit79ef7a4cd6a24bbf60508b15b3649ae824b5bf32
tree215e076543187f2f01d8faa7ea87579c9eea79d2
parented7bca5b2b891caedf2ed3ffc427eba23559da95
parent4f1636e7b0384c43856e1442755f48d7c690c2a9
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