Skip to contentSkip to conversation

Update CS4270 driver to ASoC V2

PATCH Applied Timur Tabi 2 participants 2 messages Apr 28, 2008 – Apr 29, 2008

Subsystems (3)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 Update CS4270 driver to ASoC V2

Update the CS4270 ASoC codec driver to support ASoC V2. A side-effect is the the removal of partial-support for stand-alone mode (no I2C interface). However, this change also makes the driver into a cross-platform new-style I2C driver.

---

This code has not yet been tested, since full support for the Freescale MPC8610HPCD is not ready in ASoC V2. However, this patch does at least fix all the compilation errors.

 sound/soc/codecs/Kconfig  |    2 +-
 sound/soc/codecs/cs4270.c |  469 +++++++++++++++-----------------------------
 2 files changed, 161 insertions(+), 310 deletions(-)
sound/soc/codecs/Kconfig +1 -1
index 7c5d576..31b567a 100644
@@ -85,7 +85,7 @@ config SND_SOC_WM9713
 # Cirrus Logic CS4270 Codec
 config SND_SOC_CS4270
 	tristate
-	depends on SND_SOC
+	depends on SND_SOC && I2C
 
 # Cirrus Logic CS4270 Codec Hardware Mute Support
 # Select if you have external muting circuitry attached to your CS4270.
sound/soc/codecs/cs4270.c +160 -309

681 lines not on this page · raw message

Signature · 1 line
1.5.5.1
Applied
#1 lore raw
Quoted 4 lines · Timur Tabi

Update the CS4270 ASoC codec driver to support ASoC V2. A side-effect is the the removal of partial-support for stand-alone mode (no I2C interface). However, this change also makes the driver into a cross-platform new-style I2C driver.

Thanks, applied to asoc-v2-dev.