ASoC: qcom: add a dedicated menuconfig
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 11 Aug 2020 10:58:18 +0000 (11:58 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2020 13:52:45 +0000 (14:52 +0100)
Currently list of Qualcomm drivers is growing, so put them in to a
proper menu so that it does not mix up with other ASOC configs in menuconfig.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200811105818.7890-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig

index 5d6b246..be6b8d0 100644 (file)
@@ -1,11 +1,13 @@
 # SPDX-License-Identifier: GPL-2.0-only
-config SND_SOC_QCOM
+menuconfig SND_SOC_QCOM
        tristate "ASoC support for QCOM platforms"
        depends on ARCH_QCOM || COMPILE_TEST
        help
          Say Y or M if you want to add support to use audio devices
          in Qualcomm Technologies SOC-based platforms.
 
+if SND_SOC_QCOM
+
 config SND_SOC_LPASS_CPU
        tristate
        select REGMAP_MMIO
@@ -26,7 +28,6 @@ config SND_SOC_LPASS_APQ8016
 
 config SND_SOC_STORM
        tristate "ASoC I2S support for Storm boards"
-       depends on SND_SOC_QCOM
        select SND_SOC_LPASS_IPQ806X
        select SND_SOC_MAX98357A
        help
@@ -35,7 +36,6 @@ config SND_SOC_STORM
 
 config SND_SOC_APQ8016_SBC
        tristate "SoC Audio support for APQ8016 SBC platforms"
-       depends on SND_SOC_QCOM
        select SND_SOC_LPASS_APQ8016
        select SND_SOC_QCOM_COMMON
        help
@@ -110,3 +110,5 @@ config SND_SOC_SDM845
          To add support for audio on Qualcomm Technologies Inc.
          SDM845 SoC-based systems.
          Say Y if you want to use audio device on this SoCs.
+
+endif #SND_SOC_QCOM