diff options
author | Arun KS <arunks@mistralsolutions.com> | 2008-10-02 15:07:06 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-13 02:16:59 +0200 |
commit | 3336c5b548b71dcc106a0d862675b30fdf58b3f1 (patch) | |
tree | cbf431c4d010fe18e0d64216057621c42a34ab48 /sound/soc | |
parent | 17f9ecf34aaa0ade5c89aba603847309c849297c (diff) | |
download | linux-3336c5b548b71dcc106a0d862675b30fdf58b3f1.tar.bz2 |
ALSA: ASoC: Add DSP DAI format support to the OMAP McBSP driver
Enables DSP DAI format for McBSP in OMAP platform driver
Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 35310e16d7f3..fb920e1b551e 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c @@ -245,6 +245,11 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai, regs->rcr2 |= RDATDLY(1); regs->xcr2 |= XDATDLY(1); break; + case SND_SOC_DAIFMT_DSP_A: + /* 0-bit data delay */ + regs->rcr2 |= RDATDLY(0); + regs->xcr2 |= XDATDLY(0); + break; default: /* Unsupported data format */ return -EINVAL; |