Skip to contentSkip to conversation

davinci-mcasp: don't configure AFSX direction in DIT mode

PATCH Superseded [email protected] 2 participants 2 messages Mar 1, 2013 – Mar 4, 2013

Subsystems (2)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 davinci-mcasp: don't configure AFSX direction in DIT mode

From: Yegor Yefremov <[email protected]>

AFSX won't be used in DIT mode. The related pins are AHCLKX and the data pins.

---
 sound/soc/davinci/davinci-mcasp.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
sound/soc/davinci/davinci-mcasp.c +0 -3
index 9321e5c..90a9b99 100644
@@ -772,9 +772,6 @@ static void davinci_hw_param(struct davinci_audio_dev *dev, int stream)
 /* S/PDIF */
 static void davinci_hw_dit_param(struct davinci_audio_dev *dev)
 {
-	/* Set the PDIR for Serialiser as output */
-	mcasp_set_bits(dev->base + DAVINCI_MCASP_PDIR_REG, AFSX);
-
 	/* TXMASK for 24 bits */
 	mcasp_set_reg(dev->base + DAVINCI_MCASP_TXMASK_REG, 0x00FFFFFF);
 
Signature · 1 line
1.7.7