All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] ASoC: Fix build dependency for SND_SOC_JZ4740_CODEC
@ 2011-12-06  7:38 Axel Lin
  2011-12-06  8:55 ` Lars-Peter Clausen
  2011-12-06 11:01 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-12-06  7:38 UTC (permalink / raw)
  To: alsa-devel; +Cc: Lars-Peter Clausen, Brown, Liam Girdwood, Mark

Currently SND_SOC_JZ4740_CODEC depends on SOC_JZ4740 but SOC_JZ4740 is not
defined in any Kconfig. Thus the codec driver will not be built when select
"Build all ASoC CODEC drivers". 
(Unless it is selected by SND_JZ4740_SOC_QI_LB60).
Remove the dependency with SOC_JZ4740, then this code driver can be built when
select "Build all ASoC CODEC drivers".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
I'm a little bit doubt if I should just remove the dependency as this patch does.
Or alternatively make it depends on MACH_JZ4740.
Comments?

Axel
 sound/soc/codecs/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index bc2364ac..7c205e7 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -35,7 +35,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_CX20442
 	select SND_SOC_DA7210 if I2C
 	select SND_SOC_DFBMCS320
-	select SND_SOC_JZ4740_CODEC if SOC_JZ4740
+	select SND_SOC_JZ4740_CODEC
 	select SND_SOC_LM4857 if I2C
 	select SND_SOC_MAX98088 if I2C
 	select SND_SOC_MAX98095 if I2C
-- 
1.7.5.4

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

end of thread, other threads:[~2011-12-06 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06  7:38 [RFC][PATCH] ASoC: Fix build dependency for SND_SOC_JZ4740_CODEC Axel Lin
2011-12-06  8:55 ` Lars-Peter Clausen
2011-12-06 11:01 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.