summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-11-03 13:10:53 +0300
committerMark Brown <broonie@kernel.org>2014-11-03 11:31:34 +0000
commitbf9706fe958469e7dfc6a9e16d9240892f055e62 (patch)
tree64a1030f9e871eb7fbd8e0450cc7812324714a3d /sound/soc/codecs/Kconfig
parentd004ebbef7292848f5f7ecae50824c04780baaac (diff)
downloadlinux-bf9706fe958469e7dfc6a9e16d9240892f055e62.tar.bz2
ASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER
This fixes build errors in configurations with I2C/SPI master disabled. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 7881b3c35b4d..1e7a4173a3f9 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -582,10 +582,12 @@ config SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_I2C
tristate "Texas Instruments TLV320AIC23 audio CODEC - I2C"
+ depends on I2C
select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC23_SPI
tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
+ depends on SPI_MASTER
select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC26