Add a Kconfig option to force all ASOC codecs to build
PATCH 1/1 Add a Kconfig option to force all ASOC codecs to build
---
sound/soc/Kconfig | 7 +++++++ sound/soc/codecs/Kconfig | 15 ++++++++++++++- 2 files changed, 21 insertions(+), 1 deletions(-)
sound/soc/Kconfig +7 -0
@@ -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
sound/soc/codecs/Kconfig +14 -1
@@ -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 +
sound/soc/Kconfig source "sound/soc/omap/Kconfig" · line 41
Quoted 4 lines · Jon Smirl
sound/soc/Kconfig +4
-0+config SND_SOC_ALL_CODECS + bool "Force all codecs to build" + default N + ---help---
I already have an equivalent patch queued for merge once Takashi gets back from holiday (done differently).