OSDN Git Service

ASoC: wm8770: Depend on SPI only
authorMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 15:57:50 +0000 (15:57 +0000)
committerMark Brown <broonie@linaro.org>
Fri, 7 Feb 2014 17:02:26 +0000 (17:02 +0000)
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

index 7da528a..a6afdf5 100644 (file)
@@ -474,7 +474,7 @@ config SND_SOC_WM8753
 
 config SND_SOC_WM8770
        tristate "Wolfson Microelectronics WM8770 CODEC"
-       depends on SND_SOC_I2C_AND_SPI
+       depends on SPI_MASTER
 
 config SND_SOC_WM8776
        tristate "Wolfson Microelectronics WM8776 CODEC"