From: Yegor Yefremov Date: Thu, 4 Apr 2013 14:13:19 +0000 (+0200) Subject: ASoC: davinci-mcasp: don't configure AFSX direction in DIT mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2dda75e07df04a39ecb9d61b6b5cdb6ed79df0d1;p=openwrt%2Fstaging%2Fblogic.git ASoC: davinci-mcasp: don't configure AFSX direction in DIT mode AFSX won't be used in DIT mode. The related pins are AHCLKX and the data pins. Signed-off-by: Yegor Yefremov Acked-by: Vaibhav Bedia Tested-by: Daniel Mack Signed-off-by: Mark Brown --- diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index 46c9705cec09..337431862f36 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c @@ -795,9 +795,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);