[alsa-devel] [PATCH v2] ASoC: Fix recursive dependency for SND_AT91_SOC_SAM9G20_WM8731

Fabio Estevam festevam at gmail.com
Tue Jan 10 03:05:22 CET 2012


commit 739be96 (ASoC: Fix build dependency for SND_ATMEL_SOC_SSC) introduced the following
recursive dependency:

drivers/misc/Kconfig:212:error: recursive dependency detected!
drivers/misc/Kconfig:212:	symbol ATMEL_SSC is selected by SND_ATMEL_SOC_SSC
sound/soc/atmel/Kconfig:9:	symbol SND_ATMEL_SOC_SSC is selected by SND_AT91_SOC_SAM9G20_WM8731
sound/soc/atmel/Kconfig:18:	symbol SND_AT91_SOC_SAM9G20_WM8731 depends on ATMEL_SSC

Fix it by moving ATMEL_SSC to the 'depends' line.
 
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
This applies against linux-next and doing a 'make randconfig' triggers the error.

Change since v1:

- Get rid of the recursive errors by fixing SND_AT91_SOC_SAM9G20_WM8731
 sound/soc/atmel/Kconfig |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig
index a4d6742..bb49b7d 100644
--- a/sound/soc/atmel/Kconfig
+++ b/sound/soc/atmel/Kconfig
@@ -17,8 +17,7 @@ config SND_ATMEL_SOC_SSC
 
 config SND_AT91_SOC_SAM9G20_WM8731
 	tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
-	depends on ATMEL_SSC && ARCH_AT91SAM9G20 && SND_ATMEL_SOC && \
-                   AT91_PROGRAMMABLE_CLOCKS
+	depends on ARCH_AT91SAM9G20 && AT91_PROGRAMMABLE_CLOCKS
 	select SND_ATMEL_SOC_SSC
 	select SND_SOC_WM8731
 	help
-- 
1.7.1



More information about the Alsa-devel mailing list