summaryrefslogtreecommitdiffstats
path: root/sound/arm/Kconfig
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-09-10 05:01:17 +0400
committerJaroslav Kysela <perex@perex.cz>2008-09-23 08:18:08 +0200
commit9c63634221f67450ead19820e33996b69691194f (patch)
treee21917379124783bbf37348c84bf9765cd1dc5d1 /sound/arm/Kconfig
parent081b355dd5a17788880a0241ed988c7483c1e40f (diff)
downloadlinux-9c63634221f67450ead19820e33996b69691194f.tar.bz2
ALSA: Separate common pxa2xx-ac97 code
ASoC and non-ASoC drivers for ACLINK on PXA share lot's of common code. Move all common code into separate module snd-pxa2xx-lib. [Fixed handing of SND_AC97_CODEC in Kconfig and 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/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig
index 351e19ea3785..2e554815e27c 100644
--- a/sound/arm/Kconfig
+++ b/sound/arm/Kconfig
@@ -32,11 +32,16 @@ config SND_PXA2XX_PCM
tristate
select SND_PCM
+config SND_PXA2XX_LIB
+ tristate
+ select SND_AC97_CODEC
+
config SND_PXA2XX_AC97
tristate "AC97 driver for the Intel PXA2xx chip"
depends on ARCH_PXA
select SND_PXA2XX_PCM
select SND_AC97_CODEC
+ select SND_PXA2XX_LIB
help
Say Y or M if you want to support any AC97 codec attached to
the PXA2xx AC97 interface.