Skip to contentSkip to conversation

ASoC: codecs: Put the CODEC drivers in a menu

PATCH New Mark Brown 1 participant 2 messages Feb 7, 2014

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/2 ASoC: codecs: Put the CODEC drivers in a menu

From: Mark Brown <[email protected]>

Now they're visible they get a bit noisy.

---
 sound/soc/codecs/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
sound/soc/codecs/Kconfig +4 -0
index 28faa2d0eaef..6b67e86f3f2c 100644
@@ -8,6 +8,8 @@ config SND_SOC_I2C_AND_SPI
 	default y if I2C=y
 	default y if SPI_MASTER=y
 
+menu "CODEC drivers"
+
 config SND_SOC_ALL_CODECS
 	tristate "Build all ASoC CODEC drivers"
 	depends on COMPILE_TEST
@@ -588,3 +590,5 @@ config SND_SOC_ML26124
 config SND_SOC_TPA6130A2
 	tristate "Texas Instruments TPA6130A2 headphone amplifier"
 	depends on I2C
+
+endmenu
Signature · 1 line
1.9.rc1
author maintainer
#1 lore raw

PATCH 2/2 ASoC: wm8770: Depend on SPI only

From: Mark Brown <[email protected]>

The device has no I2C support so it shouldn't be buildable if only I2C is enabled.

---
 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/Kconfig +1 -1
index 6b67e86f3f2c..6c87cce8b3cf 100644
@@ -478,7 +478,7 @@ config SND_SOC_WM8753
 
 config SND_SOC_WM8770
 	tristate "Wolfson Microelectronics WM8770 CODEC"
-	depends on SND_SOC_I2C_AND_SPI
+	depends on SPI
 
 config SND_SOC_WM8776
 	tristate "Wolfson Microelectronics WM8776 CODEC"
Signature · 1 line
1.9.rc1