diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-01-29 14:47:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-29 14:47:53 +0100 |
commit | c9de36f2a230919bee95f05ba27ed10ce4850409 (patch) | |
tree | 638feea930da60827ad3c6d7c321b0aa38adc399 /sound | |
parent | 18e352e4a73465349711a9324767e1b2453383e2 (diff) | |
parent | ef390c0b6e3f4d2d2d43f53f4bd35e1884571a14 (diff) | |
download | linux-3.10-c9de36f2a230919bee95f05ba27ed10ce4850409.tar.gz linux-3.10-c9de36f2a230919bee95f05ba27ed10ce4850409.tar.bz2 linux-3.10-c9de36f2a230919bee95f05ba27ed10ce4850409.zip |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8753.c | 9 | ||||
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 6c21b50c937..77620ab9875 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@ -1451,7 +1451,14 @@ static const struct snd_soc_dai wm8753_all_dai[] = { }, }; -struct snd_soc_dai wm8753_dai[2]; +struct snd_soc_dai wm8753_dai[] = { + { + .name = "WM8753 DAI 0", + }, + { + .name = "WM8753 DAI 1", + }, +}; EXPORT_SYMBOL_GPL(wm8753_dai); static void wm8753_set_dai_mode(struct snd_soc_codec *codec, unsigned int mode) diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index ec5e18a7875..05dd5abcddf 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: |