Skip to contentSkip to conversation

ASoC: SSM2602: add SPI support

PATCH In review Mike Frysinger 2 participants 5 messages Apr 7, 2011 – Apr 8, 2011

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

PATCH 1/1 ASoC: SSM2602: add SPI support

The ssm2602 codec has a SPI interface as well as I2C, so add the simple bit of glue to make it usable.

---
 sound/soc/codecs/Kconfig   |    2 +-
 sound/soc/codecs/ssm2602.c |   56 ++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 53 insertions(+), 5 deletions(-)
sound/soc/codecs/Kconfig +1 -1
index e24d075..910bb66 100644
@@ -40,7 +40,7 @@ config SND_SOC_ALL_CODECS
 	select SND_SOC_MAX9877 if I2C
 	select SND_SOC_PCM3008
 	select SND_SOC_SPDIF
-	select SND_SOC_SSM2602 if I2C
+	select SND_SOC_SSM2602 if SND_SOC_I2C_AND_SPI
 	select SND_SOC_SSM2604 if I2C
 	select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
 	select SND_SOC_TLV320AIC23 if I2C
sound/soc/codecs/ssm2602.c +52 -4

83 lines not on this page · raw message

Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 4 lines · Mike Frysinger

The ssm2602 codec has a SPI interface as well as I2C, so add the simple bit of glue to make it usable.

Applied, but the patch didn't apply cleanly - please check that I resolved it OK.

#2 lore raw
Quoted 6 lines · Mark Brown
Quoted 2 lines · Mike Frysinger

The ssm2602 codec has a SPI interface as well as I2C, so add the simple bit of glue to make it usable.

Applied, but the patch didn't apply cleanly - please check that I resolved it OK.

sorry about that ... i was thinking there shouldnt be any conflicts in the codec since i'm the only one sending patches ;). but i guess you're referring to just the Kconfig ?

what git tree / branch did you merge into ? i checked tiwai's sound-2.6.git and the linux-2.6-asoc.git on opensource.wolfsonmicro.com, but couldnt see this changeset ... -mike

#3 lore raw
Quoted 3 lines · Mike Frysinger

sorry about that ... i was thinking there shouldnt be any conflicts in the codec since i'm the only one sending patches ;). but i guess you're referring to just the Kconfig ?

It was just Kconfig I think.

Quoted 3 lines

what git tree / branch did you merge into ? i checked tiwai's sound-2.6.git and the linux-2.6-asoc.git on opensource.wolfsonmicro.com, but couldnt see this changeset ...

My 2.6.40 on kernel.org.

#4 lore raw
Quoted 5 lines · Mark Brown
Quoted 3 lines · Mike Frysinger

sorry about that ... i was thinking there shouldnt be any conflicts in the codec since i'm the only one sending patches ;).  but i guess you're referring to just the Kconfig ?

Quoted 7 lines

It was just Kconfig I think.

Quoted 3 lines

what git tree / branch did you merge into ?  i checked tiwai's sound-2.6.git and the linux-2.6-asoc.git on opensource.wolfsonmicro.com, but couldnt see this changeset ...

My 2.6.40 on kernel.org.

ok, your manual merge looks fine of course. thanks. -mike
_______________________________________________
Alsa-devel mailing list [email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel