ASoC: wm8770: Depend on SPI only

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>
This commit is contained in:
Mark Brown 2014-02-07 15:57:50 +00:00
parent 4d1a77224b
commit e479d85ced

View 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"