linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: qcom: move board Kconfig deps to parent config
@ 2015-06-18 22:16 Kenneth Westfield
  2015-06-18 22:16 ` [PATCH 2/2] ASoC: qcom: remove Kconfig deps from variant configs Kenneth Westfield
  0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Westfield @ 2015-06-18 22:16 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Jim Davis, Srinivas Kandagatla, Arnd Bergmann, Banajit Goswami,
	Patrick Lai, Kumar Gala, Bryan Huntsman, ALSA Mailing List,
	MSM Mailing List, Kernel Mailing List, Kenneth Westfield

From: Kenneth Westfield <kwestfie@codeaurora.org>

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>
---
 sound/soc/qcom/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 807fedf..d6ccda7 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -1,5 +1,6 @@
 config 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.
@@ -26,7 +27,7 @@ config SND_SOC_LPASS_APQ8016
 
 config SND_SOC_STORM
 	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_MAX98357A
 	help
@@ -35,7 +36,7 @@ config SND_SOC_STORM
 
 config SND_SOC_APQ8016_SBC
 	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
 	help
           Support for Qualcomm Technologies LPASS audio block in
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] ASoC: qcom: remove Kconfig deps from variant configs
  2015-06-18 22:16 [PATCH 1/2] ASoC: qcom: move board Kconfig deps to parent config Kenneth Westfield
@ 2015-06-18 22:16 ` Kenneth Westfield
  0 siblings, 0 replies; 2+ messages in thread
From: Kenneth Westfield @ 2015-06-18 22:16 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Jim Davis, Srinivas Kandagatla, Arnd Bergmann, Banajit Goswami,
	Patrick Lai, Kumar Gala, Bryan Huntsman, ALSA Mailing List,
	MSM Mailing List, Kernel Mailing List, Kenneth Westfield

From: Kenneth Westfield <kwestfie@codeaurora.org>

Remove the SND_SOC_QCOM dependency from the variant
configs.  The board configs, which select the
variants, already have this dependency.

Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
---
 sound/soc/qcom/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index d6ccda7..3cc252e 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -15,13 +15,11 @@ config SND_SOC_LPASS_PLATFORM
 
 config SND_SOC_LPASS_IPQ806X
 	tristate
-	depends on SND_SOC_QCOM
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
 config SND_SOC_LPASS_APQ8016
 	tristate
-	depends on SND_SOC_QCOM
 	select SND_SOC_LPASS_CPU
 	select SND_SOC_LPASS_PLATFORM
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-18 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 22:16 [PATCH 1/2] ASoC: qcom: move board Kconfig deps to parent config Kenneth Westfield
2015-06-18 22:16 ` [PATCH 2/2] ASoC: qcom: remove Kconfig deps from variant configs Kenneth Westfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).