ASoC: davinci-mcasp: don't configure AFSX direction in DIT mode
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 4 Apr 2013 14:13:19 +0000 (16:13 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Apr 2013 10:27:09 +0000 (11:27 +0100)
AFSX won't be used in DIT mode. The related pins are AHCLKX and
the data pins.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c

index 46c9705cec095eda6faf5be5755baed439038f59..337431862f364d3f2ce0688580bee413b6aaad26 100644 (file)
@@ -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);