alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Fix recursive dependency for SND_ATMEL_SOC_SSC
@ 2012-01-10  1:33 Fabio Estevam
  2012-01-10  3:30 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-01-10  1:33 UTC (permalink / raw)
  To: alsa-devel; +Cc: Fabio Estevam, axel.lin, broonie, Fabio Estevam

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@freescale.com>
---
This applies against linux-next and doing a 'make randconfig' triggers the error.

 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..509b152 100644
--- a/sound/soc/atmel/Kconfig
+++ b/sound/soc/atmel/Kconfig
@@ -8,8 +8,7 @@ config SND_ATMEL_SOC
 
 config SND_ATMEL_SOC_SSC
 	tristate
-	depends on SND_ATMEL_SOC
-	select ATMEL_SSC
+	depends on SND_ATMEL_SOC && ATMEL_SSC
 	help
 	  Say Y or M if you want to add support for codecs the
 	  ATMEL SSC interface. You will also needs to select the individual
-- 
1.7.1

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

* Re: [PATCH] ASoC: Fix recursive dependency for SND_ATMEL_SOC_SSC
  2012-01-10  1:33 [PATCH] ASoC: Fix recursive dependency for SND_ATMEL_SOC_SSC Fabio Estevam
@ 2012-01-10  3:30 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-01-10  3:30 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, alsa-devel, axel.lin

On Mon, Jan 09, 2012 at 11:33:11PM -0200, Fabio Estevam wrote:
> commit 739be96 (ASoC: Fix build dependency for SND_ATMEL_SOC_SSC) introduced the following
> recursive dependency:

Already fixed.

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

end of thread, other threads:[~2012-01-10  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10  1:33 [PATCH] ASoC: Fix recursive dependency for SND_ATMEL_SOC_SSC Fabio Estevam
2012-01-10  3:30 ` Mark Brown

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).