Skip to contentSkip to conversation

ASoC: tlv320aic31xx: Add dependency for I2C and select REGMAP_I2C in Kconfig

PATCH Applied Peter Ujfalusi 2 participants 3 messages Jul 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ASoC: tlv320aic31xx: Add dependency for I2C and select REGMAP_I2C in Kconfig

The codec can be configured via I2C and using regmap_i2c.

---
 sound/soc/codecs/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/codecs/Kconfig +2 -0
index 1090135de0ba..9fb6fb210251 100644
@@ -565,6 +565,8 @@ config SND_SOC_TLV320AIC26
 
 config SND_SOC_TLV320AIC31XX
         tristate
+	depends on I2C
+	select REGMAP_I2C
 
 config SND_SOC_TLV320AIC32X4
 	tristate
Signature · 1 line
2.0.2
#1 lore raw

PATCH 2/2 ASoC: tlv320aic31xx: Add text in Kconfig so the codec can be used with simple-card

In order to show the option under 'CODEC drivers' we need to have text in Kconfig.

---
 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/Kconfig +1 -1
index 9fb6fb210251..8838838e25ed 100644
@@ -564,7 +564,7 @@ config SND_SOC_TLV320AIC26
 	depends on SPI
 
 config SND_SOC_TLV320AIC31XX
-        tristate
+	tristate "Texas Instruments TLV320AIC31xx CODECs"
 	depends on I2C
 	select REGMAP_I2C
 
Signature · 1 line
2.0.2