Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@gmail.com>
To: broonie@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org
Subject: [PATCH] Add a Kconfig option to force all ASOC codecs to build
Date: Wed, 23 Jul 2008 15:57:23 -0400	[thread overview]
Message-ID: <20080723195723.24968.88510.stgit@terra> (raw)


---

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

diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index f743530..ec5d036 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -35,5 +35,12 @@ source "sound/soc/omap/Kconfig"
 # Supported codecs
 source "sound/soc/codecs/Kconfig"
 
+config SND_SOC_ALL_CODECS
+	bool "Force all codecs to build"
+	default N
+	---help---
+	
+		Select this to force all codecs to build to assist with testing.
+
 endif	# SND_SOC
 
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 1db04a2..6d82c6d 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1,37 +1,48 @@
 config SND_SOC_AC97_CODEC
 	tristate
+	default y if SND_SOC_ALL_CODECS
 	select SND_AC97_CODEC
 
 config SND_SOC_AK4535
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_UDA1380
-        tristate
+	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM8510
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM8731
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM8750
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM8753
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM8990
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM9712
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 config SND_SOC_WM9713
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 # Cirrus Logic CS4270 Codec
 config SND_SOC_CS4270
 	tristate
+	default y if SND_SOC_ALL_CODECS
 
 # Cirrus Logic CS4270 Codec Hardware Mute Support
 # Select if you have external muting circuitry attached to your CS4270.
@@ -50,3 +61,5 @@ config SND_SOC_CS4270_VD33_ERRATA
 config SND_SOC_TLV320AIC3X
 	tristate
 	depends on I2C
+	default y if SND_SOC_ALL_CODECS
+	
\ No newline at end of file

             reply	other threads:[~2008-07-23 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 19:57 Jon Smirl [this message]
2008-07-23 20:44 ` [PATCH] Add a Kconfig option to force all ASOC codecs to build Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080723195723.24968.88510.stgit@terra \
    --to=jonsmirl@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox