]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ALSA: ASoC: Add all CODECs Kconfig option
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Jul 2008 10:42:35 +0000 (11:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 29 Jul 2008 19:32:28 +0000 (21:32 +0200)
Allow all the CODEC drivers to be built without a machine driver in order
to facilitate testing of subsystem-wide changes and gain better coverage
from automated testing efforts. This also helps things like the generic
OpenFirmware machine driver for PowerPC.

Currently AC97 CODECs are not included since the current setup relies
on having a controller driver available.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/codecs/Kconfig

index 7ab74cd7b85ea2d922d3e1593fe3c9263f693697..1c934230494fe0968af807384f2472a3162e2ec3 100644 (file)
@@ -1,3 +1,26 @@
+config SND_SOC_ALL_CODECS
+       tristate "Build all ASoC CODEC drivers"
+       select I2C
+       select SPI
+       select SND_SOC_AK4535
+       select SND_SOC_UDA1380
+       select SND_SOC_WM8510
+       select SND_SOC_WM8731
+       select SND_SOC_WM8750
+       select SND_SOC_WM8753
+       select SND_SOC_WM8990
+       select SND_SOC_CS4270
+       select SND_SOC_TLV320AIC26
+       select SND_SOC_TLV320AIC3X
+        help
+          Normally ASoC codec drivers are only built if a machine driver which
+          uses them is also built since they are only usable with a machine
+          driver.  Selecting this option will allow these drivers to be built
+          without an explicit machine driver for test and development purposes.
+
+          If unsure select "N".
+
+
 config SND_SOC_AC97_CODEC
        tristate
        select SND_AC97_CODEC