]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/commitdiff
ASoC: Davinci: Correct the rotation for different data-types
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Sat, 1 Oct 2011 11:29:00 +0000 (16:59 +0530)
committerHebbar, Gururaja <gururaja.hebbar@ti.com>
Fri, 9 Mar 2012 14:45:59 +0000 (20:15 +0530)
During audio Rx none of the data-types need rotation in the
Receive Format Unit of the McASP

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
sound/soc/davinci/davinci-mcasp.c

index 9dfcb1e977bcf788939d5ecb15adcdf1de948409..d2c7d7fe80db5a3ea252e726eb65f783ff2b2c3b 100644 (file)
@@ -599,7 +599,7 @@ static int davinci_config_channel_size(struct davinci_audio_dev *dev,
                                        TXSSZ(fmt), TXSSZ(0x0F));
        mcasp_mod_bits(dev->base + DAVINCI_MCASP_TXFMT_REG, TXROT(rotate),
                                                        TXROT(7));
-       mcasp_mod_bits(dev->base + DAVINCI_MCASP_RXFMT_REG, RXROT(rotate),
+       mcasp_mod_bits(dev->base + DAVINCI_MCASP_RXFMT_REG, RXROT(0),
                                                        RXROT(7));
        mcasp_set_reg(dev->base + DAVINCI_MCASP_TXMASK_REG, mask);
        mcasp_set_reg(dev->base + DAVINCI_MCASP_RXMASK_REG, mask);