Skip to contentSkip to conversation

ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected

PATCH Applied Lars-Peter Clausen 2 participants 3 messages Jul 22, 2013 – Jul 23, 2013

Subsystems (3)
lore
Share & tools
lore

Lars-Peter Clausen

author maintainer
#0 lore raw

PATCH 1/2 ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected

The adau1701 driver was removed from SND_SOC_ALL_CODECS in commit commit ee8c7e9 ("ASoC: Remove adau1701 from SND_SOC_ALL_CODECS due to Sigma dependency") due to the dependency on the SigmaDSP firmware loader which was only available on a limited set of platforms. This was fixed quite some time ago in commit 40216ce7 ("ASoC: Move SigmaDSP firmware loader to ASoC") though, so we can add the driver back again to SND_SOC_ALL_CODECS.

---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/Kconfig +1 -0
index 63efc4e..d038a58 100644
@@ -21,6 +21,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_AD73311
 	select SND_SOC_ADAU1373 if I2C
 	select SND_SOC_ADAV80X if SND_SOC_I2C_AND_SPI
+	select SND_SOC_ADAU1701 if I2C
 	select SND_SOC_ADS117X
 	select SND_SOC_AK4104 if SPI_MASTER
 	select SND_SOC_AK4535 if I2C
Signature · 1 line
1.8.0
author maintainer
#1 lore raw

PATCH 2/2 ASoC: adau1701: Add adau1702 and adau1401(a) device ids

Both the adau1702 and the adau1401(a) are register compatible to the adau1701, so add them to adau1701 driver's device id table.

---
 sound/soc/codecs/adau1701.c | 3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/adau1701.c +3 -0
index d1124a5..44d8a95 100644
@@ -734,7 +734,10 @@ static int adau1701_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1701_i2c_id[] = {
+	{ "adau1401", 0 },
+	{ "adau1401a", 0 },
 	{ "adau1701", 0 },
+	{ "adau1702", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, adau1701_i2c_id);
Signature · 1 line
1.8.0
maintainer Applied
#2 lore raw
In reply to Lars-Peter Clausen
Quoted 4 lines · Lars-Peter Clausen

The adau1701 driver was removed from SND_SOC_ALL_CODECS in commit commit ee8c7e9 ("ASoC: Remove adau1701 from SND_SOC_ALL_CODECS due to Sigma dependency") due to the dependency on the SigmaDSP firmware loader which was only available on a limited set of platforms. This was fixed quite some time ago in commit 40216ce7

Applied both, thanks.