aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-05-23 10:10:37 -0400
committerTakashi Iwai <tiwai@suse.de>2008-05-27 09:56:20 -0400
commit89fe5117928b2c1272c9376362131ded561c91ad (patch)
treed9ad58546d73efdef4d68ba3c8224a3ee5722576 /sound/soc
parent06b5fb97cec1a3ca61d10164118b00fe98a6a866 (diff)
sound: Convert to menuconfig
Convert menu in sound Kconfig files to menuconfig and if. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/Kconfig17
-rw-r--r--sound/soc/at91/Kconfig2
-rw-r--r--sound/soc/codecs/Kconfig10
-rw-r--r--sound/soc/davinci/Kconfig2
-rw-r--r--sound/soc/fsl/Kconfig2
-rw-r--r--sound/soc/pxa/Kconfig2
-rw-r--r--sound/soc/s3c24xx/Kconfig4
-rw-r--r--sound/soc/sh/Kconfig5
8 files changed, 17 insertions, 27 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index 18f28ac4bfe8..fd7bc4f89072 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -2,15 +2,8 @@
2# SoC audio configuration 2# SoC audio configuration
3# 3#
4 4
5menu "System on Chip audio support" 5menuconfig SND_SOC
6 depends on SND!=n
7
8config SND_SOC_AC97_BUS
9 bool
10
11config SND_SOC
12 tristate "ALSA for SoC audio support" 6 tristate "ALSA for SoC audio support"
13 depends on SND
14 select SND_PCM 7 select SND_PCM
15 ---help--- 8 ---help---
16 9
@@ -23,6 +16,11 @@ config SND_SOC
23 This ASoC audio support can also be built as a module. If so, the module 16 This ASoC audio support can also be built as a module. If so, the module
24 will be called snd-soc-core. 17 will be called snd-soc-core.
25 18
19if SND_SOC
20
21config SND_SOC_AC97_BUS
22 bool
23
26# All the supported Soc's 24# All the supported Soc's
27source "sound/soc/at91/Kconfig" 25source "sound/soc/at91/Kconfig"
28source "sound/soc/pxa/Kconfig" 26source "sound/soc/pxa/Kconfig"
@@ -35,4 +33,5 @@ source "sound/soc/omap/Kconfig"
35# Supported codecs 33# Supported codecs
36source "sound/soc/codecs/Kconfig" 34source "sound/soc/codecs/Kconfig"
37 35
38endmenu 36endif # SND_SOC
37
diff --git a/sound/soc/at91/Kconfig b/sound/soc/at91/Kconfig
index 5cb93fd3a407..905186502e00 100644
--- a/sound/soc/at91/Kconfig
+++ b/sound/soc/at91/Kconfig
@@ -1,6 +1,6 @@
1config SND_AT91_SOC 1config SND_AT91_SOC
2 tristate "SoC Audio for the Atmel AT91 System-on-Chip" 2 tristate "SoC Audio for the Atmel AT91 System-on-Chip"
3 depends on ARCH_AT91 && SND_SOC 3 depends on ARCH_AT91
4 help 4 help
5 Say Y or M if you want to add support for codecs attached to 5 Say Y or M if you want to add support for codecs attached to
6 the AT91 SSC interface. You will also need 6 the AT91 SSC interface. You will also need
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 3903ab7dfa4a..d4a5fe42f6e0 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1,31 +1,25 @@
1config SND_SOC_AC97_CODEC 1config SND_SOC_AC97_CODEC
2 tristate 2 tristate
3 depends on SND_SOC 3 select SND_AC97_CODEC
4 4
5config SND_SOC_WM8731 5config SND_SOC_WM8731
6 tristate 6 tristate
7 depends on SND_SOC
8 7
9config SND_SOC_WM8750 8config SND_SOC_WM8750
10 tristate 9 tristate
11 depends on SND_SOC
12 10
13config SND_SOC_WM8753 11config SND_SOC_WM8753
14 tristate 12 tristate
15 depends on SND_SOC
16 13
17config SND_SOC_WM9712 14config SND_SOC_WM9712
18 tristate 15 tristate
19 depends on SND_SOC
20 16
21config SND_SOC_WM9713 17config SND_SOC_WM9713
22 tristate 18 tristate
23 depends on SND_SOC
24 19
25# Cirrus Logic CS4270 Codec 20# Cirrus Logic CS4270 Codec
26config SND_SOC_CS4270 21config SND_SOC_CS4270
27 tristate 22 tristate
28 depends on SND_SOC
29 23
30# Cirrus Logic CS4270 Codec Hardware Mute Support 24# Cirrus Logic CS4270 Codec Hardware Mute Support
31# Select if you have external muting circuitry attached to your CS4270. 25# Select if you have external muting circuitry attached to your CS4270.
@@ -43,4 +37,4 @@ config SND_SOC_CS4270_VD33_ERRATA
43 37
44config SND_SOC_TLV320AIC3X 38config SND_SOC_TLV320AIC3X
45 tristate 39 tristate
46 depends on SND_SOC && I2C 40 depends on I2C
diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig
index 20680c551aab..8f7e33834902 100644
--- a/sound/soc/davinci/Kconfig
+++ b/sound/soc/davinci/Kconfig
@@ -1,6 +1,6 @@
1config SND_DAVINCI_SOC 1config SND_DAVINCI_SOC
2 tristate "SoC Audio for the TI DAVINCI chip" 2 tristate "SoC Audio for the TI DAVINCI chip"
3 depends on ARCH_DAVINCI && SND_SOC 3 depends on ARCH_DAVINCI
4 help 4 help
5 Say Y or M if you want to add support for codecs attached to 5 Say Y or M if you want to add support for codecs attached to
6 the DAVINCI AC97 or I2S interface. You will also need 6 the DAVINCI AC97 or I2S interface. You will also need
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 257101f44e9e..19802e27df4b 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -2,7 +2,7 @@ menu "ALSA SoC audio for Freescale SOCs"
2 2
3config SND_SOC_MPC8610 3config SND_SOC_MPC8610
4 bool "ALSA SoC support for the MPC8610 SOC" 4 bool "ALSA SoC support for the MPC8610 SOC"
5 depends on SND_SOC && MPC8610_HPCD 5 depends on MPC8610_HPCD
6 default y if MPC8610 6 default y if MPC8610
7 help 7 help
8 Say Y if you want to add support for codecs attached to the SSI 8 Say Y if you want to add support for codecs attached to the SSI
diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index 484f883459e0..18a40dc8ad9d 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -1,6 +1,6 @@
1config SND_PXA2XX_SOC 1config SND_PXA2XX_SOC
2 tristate "SoC Audio for the Intel PXA2xx chip" 2 tristate "SoC Audio for the Intel PXA2xx chip"
3 depends on ARCH_PXA && SND_SOC 3 depends on ARCH_PXA
4 help 4 help
5 Say Y or M if you want to add support for codecs attached to 5 Say Y or M if you want to add support for codecs attached to
6 the PXA2xx AC97, I2S or SSP interface. You will also need 6 the PXA2xx AC97, I2S or SSP interface. You will also need
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
index 1f6dbfc4caa8..b9f2353effeb 100644
--- a/sound/soc/s3c24xx/Kconfig
+++ b/sound/soc/s3c24xx/Kconfig
@@ -1,7 +1,6 @@
1config SND_S3C24XX_SOC 1config SND_S3C24XX_SOC
2 tristate "SoC Audio for the Samsung S3C24XX chips" 2 tristate "SoC Audio for the Samsung S3C24XX chips"
3 depends on ARCH_S3C2410 && SND_SOC 3 depends on ARCH_S3C2410
4 select SND_PCM
5 help 4 help
6 Say Y or M if you want to add support for codecs attached to 5 Say Y or M if you want to add support for codecs attached to
7 the S3C24XX AC97, I2S or SSP interface. You will also need 6 the S3C24XX AC97, I2S or SSP interface. You will also need
@@ -16,7 +15,6 @@ config SND_S3C2412_SOC_I2S
16config SND_S3C2443_SOC_AC97 15config SND_S3C2443_SOC_AC97
17 tristate 16 tristate
18 select AC97_BUS 17 select AC97_BUS
19 select SND_AC97_CODEC
20 select SND_SOC_AC97_BUS 18 select SND_SOC_AC97_BUS
21 19
22config SND_S3C24XX_SOC_NEO1973_WM8753 20config SND_S3C24XX_SOC_NEO1973_WM8753
diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
index 4c1e013381c9..54bd604012af 100644
--- a/sound/soc/sh/Kconfig
+++ b/sound/soc/sh/Kconfig
@@ -3,7 +3,7 @@ menu "SoC Audio support for SuperH"
3 3
4config SND_SOC_PCM_SH7760 4config SND_SOC_PCM_SH7760
5 tristate "SoC Audio support for Renesas SH7760" 5 tristate "SoC Audio support for Renesas SH7760"
6 depends on CPU_SUBTYPE_SH7760 && SND_SOC && SH_DMABRG 6 depends on CPU_SUBTYPE_SH7760 && SH_DMABRG
7 help 7 help
8 Enable this option for SH7760 AC97/I2S audio support. 8 Enable this option for SH7760 AC97/I2S audio support.
9 9
@@ -13,10 +13,9 @@ config SND_SOC_PCM_SH7760
13## 13##
14 14
15config SND_SOC_SH4_HAC 15config SND_SOC_SH4_HAC
16 tristate
16 select AC97_BUS 17 select AC97_BUS
17 select SND_SOC_AC97_BUS 18 select SND_SOC_AC97_BUS
18 select SND_AC97_CODEC
19 tristate
20 19
21config SND_SOC_SH4_SSI 20config SND_SOC_SH4_SSI
22 tristate 21 tristate