Browse Source

ASoC: qcom: move board Kconfig deps to parent config

Rather than have each board define the same set of
dependencies; move the common dependencies to the
SND_SOC_QCOM parent config.

Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Kenneth Westfield 10 years ago
parent
commit
02c4b9c28b
1 changed files with 3 additions and 2 deletions
  1. 3 2
      sound/soc/qcom/Kconfig

+ 3 - 2
sound/soc/qcom/Kconfig

@@ -1,5 +1,6 @@
 config SND_SOC_QCOM
 config SND_SOC_QCOM
 	tristate "ASoC support for QCOM platforms"
 	tristate "ASoC support for QCOM platforms"
+	depends on ARCH_QCOM || COMPILE_TEST
 	help
 	help
           Say Y or M if you want to add support to use audio devices
           Say Y or M if you want to add support to use audio devices
           in Qualcomm Technologies SOC-based platforms.
           in Qualcomm Technologies SOC-based platforms.
@@ -26,7 +27,7 @@ config SND_SOC_LPASS_APQ8016
 
 
 config SND_SOC_STORM
 config SND_SOC_STORM
 	tristate "ASoC I2S support for Storm boards"
 	tristate "ASoC I2S support for Storm boards"
-	depends on SND_SOC_QCOM && (ARCH_QCOM || COMPILE_TEST)
+	depends on SND_SOC_QCOM
 	select SND_SOC_LPASS_IPQ806X
 	select SND_SOC_LPASS_IPQ806X
 	select SND_SOC_MAX98357A
 	select SND_SOC_MAX98357A
 	help
 	help
@@ -35,7 +36,7 @@ config SND_SOC_STORM
 
 
 config SND_SOC_APQ8016_SBC
 config SND_SOC_APQ8016_SBC
 	tristate "SoC Audio support for APQ8016 SBC platforms"
 	tristate "SoC Audio support for APQ8016 SBC platforms"
-	depends on SND_SOC_QCOM && (ARCH_QCOM || COMPILE_TEST)
+	depends on SND_SOC_QCOM
 	select SND_SOC_LPASS_APQ8016
 	select SND_SOC_LPASS_APQ8016
 	help
 	help
           Support for Qualcomm Technologies LPASS audio block in
           Support for Qualcomm Technologies LPASS audio block in