aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2007-03-21 06:54:04 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:55:51 -0400
commit97a1dd5bee9edab5172553cbdcfc858393814556 (patch)
treed75c3791089d115cfa8c9ab0af305f50c9fc5973
parent83c51c0ab08f55468d8f5444ff2f70a36841a21f (diff)
[ALSA] fix SND_SOC Kconfig
The new ALSA 'SOC' support has bogus Kconfig ... it should not be presenting anything AT91-related except on AT91, or anything PXA-related except on PXA. Right now, x86 sees both of those menus, as do all other platforms. This patch removes needless Kconfig layering, and the related inappropriate choice presentation. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/soc/Kconfig3
-rw-r--r--sound/soc/at91/Kconfig4
-rw-r--r--sound/soc/pxa/Kconfig4
-rw-r--r--sound/soc/s3c24xx/Kconfig5
4 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index 03e04aecd74c..23a5c3b7e5d5 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -22,12 +22,9 @@ config SND_SOC
22 will be called snd-soc-core. 22 will be called snd-soc-core.
23 23
24# All the supported Soc's 24# All the supported Soc's
25menu "SoC Platforms"
26depends on SND_SOC
27source "sound/soc/at91/Kconfig" 25source "sound/soc/at91/Kconfig"
28source "sound/soc/pxa/Kconfig" 26source "sound/soc/pxa/Kconfig"
29source "sound/soc/s3c24xx/Kconfig" 27source "sound/soc/s3c24xx/Kconfig"
30endmenu
31 28
32# Supported codecs 29# Supported codecs
33source "sound/soc/codecs/Kconfig" 30source "sound/soc/codecs/Kconfig"
diff --git a/sound/soc/at91/Kconfig b/sound/soc/at91/Kconfig
index a5b2558916c1..e41e75edc3df 100644
--- a/sound/soc/at91/Kconfig
+++ b/sound/soc/at91/Kconfig
@@ -1,5 +1,3 @@
1menu "SoC Audio for the Atmel AT91"
2
3config SND_AT91_SOC 1config SND_AT91_SOC
4 tristate "SoC Audio for the Atmel AT91 System-on-Chip" 2 tristate "SoC Audio for the Atmel AT91 System-on-Chip"
5 depends on ARCH_AT91 && SND_SOC 3 depends on ARCH_AT91 && SND_SOC
@@ -27,5 +25,3 @@ config SND_AT91_SOC_ETI_SLAVE
27 help 25 help
28 Say Y if you want to run with the AT91 SSC generating the BCLK 26 Say Y if you want to run with the AT91 SSC generating the BCLK
29 and LRC signals on Endrelia boards. 27 and LRC signals on Endrelia boards.
30
31endmenu
diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index b9ab3b8e1d3e..a83e22937c27 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -1,5 +1,3 @@
1menu "SoC Audio for the Intel PXA2xx"
2
3config SND_PXA2XX_SOC 1config SND_PXA2XX_SOC
4 tristate "SoC Audio for the Intel PXA2xx chip" 2 tristate "SoC Audio for the Intel PXA2xx chip"
5 depends on ARCH_PXA && SND_SOC 3 depends on ARCH_PXA && SND_SOC
@@ -55,5 +53,3 @@ config SND_PXA2XX_SOC_TOSA
55 help 53 help
56 Say Y if you want to add support for SoC audio on Sharp 54 Say Y if you want to add support for SoC audio on Sharp
57 Zaurus SL-C6000x models (Tosa). 55 Zaurus SL-C6000x models (Tosa).
58
59endmenu
diff --git a/sound/soc/s3c24xx/Kconfig b/sound/soc/s3c24xx/Kconfig
index bb6e00a1cf66..044a3712077a 100644
--- a/sound/soc/s3c24xx/Kconfig
+++ b/sound/soc/s3c24xx/Kconfig
@@ -1,5 +1,3 @@
1menu "SoC Audio for the Samsung S3C24XX"
2
3config SND_S3C24XX_SOC 1config SND_S3C24XX_SOC
4 tristate "SoC Audio for the Samsung S3C24XX chips" 2 tristate "SoC Audio for the Samsung S3C24XX chips"
5 depends on ARCH_S3C2410 && SND_SOC 3 depends on ARCH_S3C2410 && SND_SOC
@@ -10,6 +8,3 @@ config SND_S3C24XX_SOC
10 8
11config SND_S3C24XX_SOC_I2S 9config SND_S3C24XX_SOC_I2S
12 tristate 10 tristate
13
14endmenu
15