[alsa-devel] [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.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@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
In order to show the option under 'CODEC drivers' we need to have text in Kconfig.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@ti.com --- sound/soc/codecs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 9fb6fb210251..8838838e25ed 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -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
participants (2)
-
Mark Brown
-
Peter Ujfalusi