[alsa-devel] [PATCH 1/2] ASoC: tlv320aic31xx: Add dependency for I2C and select REGMAP_I2C in Kconfig

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Jul 25 14:07:47 CEST 2014


The codec can be configured via I2C and using regmap_i2c.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
---
 sound/soc/codecs/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 1090135de0ba..9fb6fb210251 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -565,6 +565,8 @@ config SND_SOC_TLV320AIC26
 
 config SND_SOC_TLV320AIC31XX
         tristate
+	depends on I2C
+	select REGMAP_I2C
 
 config SND_SOC_TLV320AIC32X4
 	tristate
-- 
2.0.2



More information about the Alsa-devel mailing list