[PATCH] Add a Kconfig option to force all ASOC codecs to build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---

 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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux