[alsa-devel] [PATCH 2/2] ASoC: wm8770: Depend on SPI only

Mark Brown broonie at kernel.org
Fri Feb 7 16:59:30 CET 2014

From: Mark Brown <broonie at linaro.org>

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

Signed-off-by: Mark Brown <broonie at 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"

More information about the Alsa-devel mailing list