[alsa-devel] [PATCH] ASoC: qcom: Remove QCOM dependency from LPASS variants

Kenneth Westfield kwestfie at codeaurora.org
Tue Jun 2 07:05:32 CEST 2015


From: Kenneth Westfield <kwestfie at codeaurora.org>

Remove the dependency on SND_SOC_QCOM from the user-
invisible LPASS variant options.  This will fix
randconfig build errors.

Reported-by: Jim Davis <jim.epost at gmail.com>
Fixes: dc1ebd1811e9 ("ASoC: qcom: Add apq8016 lpass driver support")
Fixes: 9bae4880acee ("ASoC: qcom: move ipq806x specific bits out of lpass
driver")
Signed-off-by: Kenneth Westfield <kwestfie at codeaurora.org>
---

 Created fix in response to Jim's bug report:
 http://mailman.alsa-project.org/pipermail/alsa-devel/2015-May/092870.html
 
 Note: I did some searching but didn't see an example of a fix for the
 same type of bug introduced by 2 commits.  If this needs to be split into
 two fixes, let me know.

 sound/soc/qcom/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index 29fff6d..10837bd 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -14,13 +14,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



More information about the Alsa-devel mailing list