]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: SDCA: Make CONFIG_SND_SOC_SDCA a user selectable symbol
authorNathan Chancellor <nathan@kernel.org>
Tue, 26 May 2026 21:53:12 +0000 (14:53 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 27 May 2026 10:13:59 +0000 (11:13 +0100)
Currently, CONFIG_SND_SOC_SDCA is a hidden Kconfig symbol, so it must be
selected by a user selectable symbol to be enabled. However, it may not
be possible for configurations to select this symbol without running
into a recursive dependency issue:

  error: recursive dependency detected!
          symbol SOUNDWIRE depends on SND_SOC_SDCA_OPTIONAL
          symbol SND_SOC_SDCA_OPTIONAL default value contains SND_SOC_SDCA
          symbol SND_SOC_SDCA is selected by SND_SOC_ES9356
          symbol SND_SOC_ES9356 depends on SOUNDWIRE

Turn CONFIG_SND_SOC_SDCA into a user selectable symbol so that drivers
can depend on it and allow the user to enable it explicitly.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260526-es9356-dep-fixes-v1-1-39ac16f43d54@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/Kconfig

index 87ab2895096c1dac20a85fadbcf6c5d8080b8f22..4c0dcb9ff3b944bf98b5de045379bd1d53768176 100644 (file)
@@ -2,7 +2,7 @@
 menu "SoundWire (SDCA)"
 
 config SND_SOC_SDCA
-       tristate
+       tristate "SDCA core support"
        depends on ACPI
        select AUXILIARY_BUS
        help