ASoC: qcom: add a dedicated menuconfig
[linux-2.6-microblaze.git] / 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