[alsa-devel] [PATCH 1/2] ASoC: codecs: Put the CODEC drivers in a menu
From: Mark Brown broonie@linaro.org
Now they're visible they get a bit noisy.
Signed-off-by: Mark Brown broonie@linaro.org --- sound/soc/codecs/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 28faa2d0eaef..6b67e86f3f2c 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -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
From: Mark Brown broonie@linaro.org
The device has no I2C support so it shouldn't be buildable if only I2C is enabled.
Signed-off-by: Mark Brown broonie@linaro.org --- sound/soc/codecs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 6b67e86f3f2c..6c87cce8b3cf 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -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"
participants (1)
-
Mark Brown