summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-mcbsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-29 14:57:59 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-29 14:57:59 +0100
commit0bf5460de96aa66abf9350333ee6711e73b3b31e (patch)
tree4619f73139984d53bf16372d315e86fe0dfef017 /sound/soc/omap/omap-mcbsp.c
parentMerge branch 'topic/snd_card_new-err' into topic/asoc (diff)
parentASoC: OMAP: Initialize XCCR and RCCR registers in McBSP DAI driver (diff)
downloadlinux-0bf5460de96aa66abf9350333ee6711e73b3b31e.tar.xz
linux-0bf5460de96aa66abf9350333ee6711e73b3b31e.zip
Merge branch 'for-2.6.29' into for-2.6.30
Diffstat (limited to 'sound/soc/omap/omap-mcbsp.c')
-rw-r--r--sound/soc/omap/omap-mcbsp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index ec5e18a78758..05dd5abcddf4 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -302,6 +302,10 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
regs->spcr1 |= RINTM(3);
regs->rcr2 |= RFIG;
regs->xcr2 |= XFIG;
+ if (cpu_is_omap2430() || cpu_is_omap34xx()) {
+ regs->xccr = DXENDLY(1) | XDMAEN;
+ regs->rccr = RFULL_CYCLE | RDMAEN;
+ }
switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
case SND_SOC_DAIFMT_I2S: