summaryrefslogtreecommitdiffstats
path: root/sound/arm/Kconfig
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-09-10 05:01:20 +0400
committerJaroslav Kysela <perex@perex.cz>2008-09-23 08:18:10 +0200
commita6d77317678148c973bb0131cc5a3a772f756d23 (patch)
tree09cf4c825ce49eccef121d4ad133cfec20246248 /sound/arm/Kconfig
parent9d1cf39be6709761be3ce0a00e5c9ee5dc805ac5 (diff)
ALSA: Separate common pxa2xx-pcm code
ASoC and non-ASoC drivers for PCM DMA on PXA share lots of common code. Move it to pxa2xx-lib. [Fixed some checkpatch warnings -- broonie] Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/arm/Kconfig')
-rw-r--r--sound/arm/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig
index 2e554815e27..f8e6de48d81 100644
--- a/sound/arm/Kconfig
+++ b/sound/arm/Kconfig
@@ -34,7 +34,10 @@ config SND_PXA2XX_PCM
config SND_PXA2XX_LIB
tristate
- select SND_AC97_CODEC
+ select SND_AC97_CODEC if SND_PXA2XX_LIB_AC97
+
+config SND_PXA2XX_LIB_AC97
+ bool
config SND_PXA2XX_AC97
tristate "AC97 driver for the Intel PXA2xx chip"
@@ -42,6 +45,7 @@ config SND_PXA2XX_AC97
select SND_PXA2XX_PCM
select SND_AC97_CODEC
select SND_PXA2XX_LIB
+ select SND_PXA2XX_LIB_AC97
help
Say Y or M if you want to support any AC97 codec attached to
the PXA2xx AC97 interface.