]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: starfive: Standardize ASoC menu
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Jun 2025 01:44:51 +0000 (01:44 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 24 Jun 2025 00:01:41 +0000 (01:01 +0100)
Current Kconfig menu at [ALSA for SoC audio support] has no rules.
So, some venders are using menu style, some venders are listed each drivers
on top page, etc. It is difficult to find target vender and/or drivers
because it is very random.

Let's standardize ASoC menu

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87o6utybqk.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/starfive/Kconfig

index 279ac5c1d309beae8b75174be7a1f270cd66009f..1e11aa74594d7160a6f81fd27b43df55722c4662 100644 (file)
@@ -1,15 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
-config SND_SOC_STARFIVE
-       tristate "Audio support for StarFive SoC"
+menu "StarFive"
        depends on COMPILE_TEST || ARCH_STARFIVE
-       help
-         Say Y or M if you want to add support for codecs attached to
-         the Starfive SoCs' Audio interfaces. You will also need to
-         select the audio interfaces to support below.
+       depends on HAVE_CLK
 
 config SND_SOC_JH7110_PWMDAC
        tristate "JH7110 PWM-DAC device driver"
-       depends on HAVE_CLK && SND_SOC_STARFIVE
        select SND_SOC_GENERIC_DMAENGINE_PCM
        select SND_SOC_SPDIF
        help
@@ -18,7 +13,8 @@ config SND_SOC_JH7110_PWMDAC
 
 config SND_SOC_JH7110_TDM
        tristate "JH7110 TDM device driver"
-       depends on HAVE_CLK && SND_SOC_STARFIVE
        select SND_SOC_GENERIC_DMAENGINE_PCM
        help
          Say Y or M if you want to add support for StarFive TDM driver.
+
+endmenu