ALSA: ASoC: Add all CODECs Kconfig option

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>
This commit is contained in:
Mark Brown 2008-07-29 11:42:35 +01:00 committed by Jaroslav Kysela
parent 5f57dc8b2a
commit 0c94161580
1 changed files with 23 additions and 0 deletions

View 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