alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected
@ 2013-07-22 16:49 Lars-Peter Clausen
  2013-07-22 16:49 ` [PATCH 2/2] ASoC: adau1701: Add adau1702 and adau1401(a) device ids Lars-Peter Clausen
  2013-07-23 17:46 ` [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Lars-Peter Clausen @ 2013-07-22 16:49 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, 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
("ASoC: Move SigmaDSP firmware loader to ASoC") though, so we can add the driver
back again to SND_SOC_ALL_CODECS.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 63efc4e..d038a58 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -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
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ASoC: adau1701: Add adau1702 and adau1401(a) device ids
  2013-07-22 16:49 [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Lars-Peter Clausen
@ 2013-07-22 16:49 ` Lars-Peter Clausen
  2013-07-23 17:46 ` [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Lars-Peter Clausen @ 2013-07-22 16:49 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen

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

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/adau1701.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
index d1124a5..44d8a95 100644
--- a/sound/soc/codecs/adau1701.c
+++ b/sound/soc/codecs/adau1701.c
@@ -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);
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected
  2013-07-22 16:49 [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Lars-Peter Clausen
  2013-07-22 16:49 ` [PATCH 2/2] ASoC: adau1701: Add adau1702 and adau1401(a) device ids Lars-Peter Clausen
@ 2013-07-23 17:46 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2013-07-23 17:46 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: alsa-devel, Liam Girdwood


[-- Attachment #1.1: Type: text/plain, Size: 418 bytes --]

On Mon, Jul 22, 2013 at 06:49:52PM +0200, Lars-Peter Clausen wrote:
> 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.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-23 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22 16:49 [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Lars-Peter Clausen
2013-07-22 16:49 ` [PATCH 2/2] ASoC: adau1701: Add adau1702 and adau1401(a) device ids Lars-Peter Clausen
2013-07-23 17:46 ` [PATCH 1/2] ASoC: Build adau1701 when SND_SOC_ALL_CODECS is selected Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).