ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected
Subsystems (3)
Lars-Peter Clausen
maintainerPATCH 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
@@ -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
Lars-Peter Clausen
maintainerPATCH 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
@@ -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
Quoted 4 lines · Lars-Peter Clausen
The adau1701 driver was removed from
SND_SOC_ALL_CODECSin commit commit ee8c7e9 ("ASoC: Remove adau1701 fromSND_SOC_ALL_CODECSdue 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 commit40216ce7
Applied both, thanks.