浏览代码

[ALSA] soc - Fix dependencies in Kconfig files

Fixed dependencies in Kconfig files of soc drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Takashi Iwai 18 年之前
父节点
当前提交
1fc273b88e
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 2 0
      sound/soc/Kconfig
  2. 1 2
      sound/soc/at91/Kconfig
  3. 1 2
      sound/soc/pxa/Kconfig

+ 2 - 0
sound/soc/Kconfig

@@ -10,6 +10,8 @@ config SND_SOC_AC97_BUS
 
 
 config SND_SOC
 config SND_SOC
 	tristate "SoC audio support"
 	tristate "SoC audio support"
+	depends on SND
+	select SND_PCM
 	---help---
 	---help---
 
 
 	  If you want SoC support, you should say Y here and also to the
 	  If you want SoC support, you should say Y here and also to the

+ 1 - 2
sound/soc/at91/Kconfig

@@ -2,8 +2,7 @@ menu "SoC Audio for the Atmel AT91"
 
 
 config SND_AT91_SOC
 config SND_AT91_SOC
 	tristate "SoC Audio for the Atmel AT91 System-on-Chip"
 	tristate "SoC Audio for the Atmel AT91 System-on-Chip"
-	depends on ARCH_AT91 && SND
-	select SND_PCM
+	depends on ARCH_AT91 && SND_SOC
 	help
 	help
 	  Say Y or M if you want to add support for codecs attached to
 	  Say Y or M if you want to add support for codecs attached to
 	  the AT91 SSC interface. You will also need
 	  the AT91 SSC interface. You will also need

+ 1 - 2
sound/soc/pxa/Kconfig

@@ -2,8 +2,7 @@ menu "SoC Audio for the Intel PXA2xx"
 
 
 config SND_PXA2XX_SOC
 config SND_PXA2XX_SOC
 	tristate "SoC Audio for the Intel PXA2xx chip"
 	tristate "SoC Audio for the Intel PXA2xx chip"
-	depends on ARCH_PXA && SND
-	select SND_PCM
+	depends on ARCH_PXA && SND_SOC
 	help
 	help
 	  Say Y or M if you want to add support for codecs attached to
 	  Say Y or M if you want to add support for codecs attached to
 	  the PXA2xx AC97, I2S or SSP interface. You will also need
 	  the PXA2xx AC97, I2S or SSP interface. You will also need