Skip to contentSkip to conversation

ASoC: arizona: Implement TDM support for Arizona devices

PATCH Applied Charles Keepax 2 participants 2 messages Jun 4, 2014

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

PATCH v2 1/1 ASoC: arizona: Implement TDM support for Arizona devices

---

Changes since v1:
- Removed check of TDM width to requested stream word length

 include/linux/mfd/arizona/core.h |    3 +
 sound/soc/codecs/arizona.c       |   78 +++++++++++++++++++++++++++++++++++---
 2 files changed, 75 insertions(+), 6 deletions(-)
include/linux/mfd/arizona/core.h +3 -0
index 5cf8b91..11783b5 100644
@@ -110,6 +110,9 @@ struct arizona {
 	int clk32k_ref;
 
 	struct snd_soc_dapm_context *dapm;
+
+	int tdm_width[ARIZONA_MAX_AIF];
+	int tdm_slots[ARIZONA_MAX_AIF];
 };
 
 int arizona_clk32k_enable(struct arizona *arizona);
sound/soc/codecs/arizona.c +72 -6

106 lines not on this page · raw message

Signature · 1 line
1.7.2.5