Commit bf9706fe authored by Max Filippov's avatar Max Filippov Committed by Mark Brown

ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER

This fixes build errors in configurations with I2C/SPI master disabled.
Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d004ebbe
...@@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23 ...@@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_I2C config SND_SOC_TLV320AIC23_I2C
tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C" tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
depends on I2C
select SND_SOC_TLV320AIC23 select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_SPI config SND_SOC_TLV320AIC23_SPI
tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI" tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
depends on SPI_MASTER
select SND_SOC_TLV320AIC23 select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC26 config SND_SOC_TLV320AIC26
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment