diff options
author | Javier Martin <javier.martin@vista-silicon.com> | 2012-02-23 15:43:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 10:32:57 -0700 |
commit | 1cd5a2cdce1508eabd38e530086b56fad68b89d0 (patch) | |
tree | d4ba15f4bed8ad474eca88d1009ab01f29d68408 /sound | |
parent | 973c38c2d69dabf942f510d5bb2af8c3f1669c82 (diff) | |
download | linux-stable-1cd5a2cdce1508eabd38e530086b56fad68b89d0.tar.gz linux-stable-1cd5a2cdce1508eabd38e530086b56fad68b89d0.tar.bz2 linux-stable-1cd5a2cdce1508eabd38e530086b56fad68b89d0.zip |
ASoC: i.MX SSI: Fix DSP_A format.
commit 5ed80a75b248bfaf840ea6b38f941edcf6ee7dc7 upstream.
According to i.MX27 Reference Manual (p 1593) TXBIT0 bit selects
whether the most significant or the less significant part of the
data word written to the FIFO is transmitted.
As DSP_A is the same as DSP_B with a data offset of 1 bit, it
doesn't make any sense to remove TXBIT0 bit here.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/imx/imx-ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-ssi.c b/sound/soc/imx/imx-ssi.c index 61fceb09cdb5..3b56254006aa 100644 --- a/sound/soc/imx/imx-ssi.c +++ b/sound/soc/imx/imx-ssi.c @@ -112,7 +112,7 @@ static int imx_ssi_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) break; case SND_SOC_DAIFMT_DSP_A: /* data on rising edge of bclk, frame high 1clk before data */ - strcr |= SSI_STCR_TFSL | SSI_STCR_TEFS; + strcr |= SSI_STCR_TFSL | SSI_STCR_TXBIT0 | SSI_STCR_TEFS; break; } |