diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-09-09 21:01:20 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-23 02:18:10 -0400 |
commit | a6d77317678148c973bb0131cc5a3a772f756d23 (patch) | |
tree | 09cf4c825ce49eccef121d4ad133cfec20246248 /sound/arm/Kconfig | |
parent | 9d1cf39be6709761be3ce0a00e5c9ee5dc805ac5 (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/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig index 2e554815e27c..f8e6de48d816 100644 --- a/sound/arm/Kconfig +++ b/sound/arm/Kconfig | |||
@@ -34,7 +34,10 @@ config SND_PXA2XX_PCM | |||
34 | 34 | ||
35 | config SND_PXA2XX_LIB | 35 | config SND_PXA2XX_LIB |
36 | tristate | 36 | tristate |
37 | select SND_AC97_CODEC | 37 | select SND_AC97_CODEC if SND_PXA2XX_LIB_AC97 |
38 | |||
39 | config SND_PXA2XX_LIB_AC97 | ||
40 | bool | ||
38 | 41 | ||
39 | config SND_PXA2XX_AC97 | 42 | config SND_PXA2XX_AC97 |
40 | tristate "AC97 driver for the Intel PXA2xx chip" | 43 | tristate "AC97 driver for the Intel PXA2xx chip" |
@@ -42,6 +45,7 @@ config SND_PXA2XX_AC97 | |||
42 | select SND_PXA2XX_PCM | 45 | select SND_PXA2XX_PCM |
43 | select SND_AC97_CODEC | 46 | select SND_AC97_CODEC |
44 | select SND_PXA2XX_LIB | 47 | select SND_PXA2XX_LIB |
48 | select SND_PXA2XX_LIB_AC97 | ||
45 | help | 49 | help |
46 | Say Y or M if you want to support any AC97 codec attached to | 50 | Say Y or M if you want to support any AC97 codec attached to |
47 | the PXA2xx AC97 interface. | 51 | the PXA2xx AC97 interface. |