diff options
| author | Takashi Iwai <tiwai@suse.de> | 2009-01-29 08:47:53 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2009-01-29 08:47:53 -0500 |
| commit | c9de36f2a230919bee95f05ba27ed10ce4850409 (patch) | |
| tree | 638feea930da60827ad3c6d7c321b0aa38adc399 | |
| parent | 18e352e4a73465349711a9324767e1b2453383e2 (diff) | |
| parent | ef390c0b6e3f4d2d2d43f53f4bd35e1884571a14 (diff) | |
Merge branch 'fix/asoc' into for-linus
| -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 6c21b50c9375..77620ab98756 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[] = { | |||
| 1451 | }, | 1451 | }, |
| 1452 | }; | 1452 | }; |
| 1453 | 1453 | ||
| 1454 | struct snd_soc_dai wm8753_dai[2]; | 1454 | struct snd_soc_dai wm8753_dai[] = { |
| 1455 | { | ||
| 1456 | .name = "WM8753 DAI 0", | ||
| 1457 | }, | ||
| 1458 | { | ||
| 1459 | .name = "WM8753 DAI 1", | ||
| 1460 | }, | ||
| 1461 | }; | ||
| 1455 | EXPORT_SYMBOL_GPL(wm8753_dai); | 1462 | EXPORT_SYMBOL_GPL(wm8753_dai); |
| 1456 | 1463 | ||
| 1457 | static void wm8753_set_dai_mode(struct snd_soc_codec *codec, unsigned int mode) | 1464 | 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 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, | |||
| 302 | regs->spcr1 |= RINTM(3); | 302 | regs->spcr1 |= RINTM(3); |
| 303 | regs->rcr2 |= RFIG; | 303 | regs->rcr2 |= RFIG; |
| 304 | regs->xcr2 |= XFIG; | 304 | regs->xcr2 |= XFIG; |
| 305 | if (cpu_is_omap2430() || cpu_is_omap34xx()) { | ||
| 306 | regs->xccr = DXENDLY(1) | XDMAEN; | ||
| 307 | regs->rccr = RFULL_CYCLE | RDMAEN; | ||
| 308 | } | ||
| 305 | 309 | ||
| 306 | switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { | 310 | switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { |
| 307 | case SND_SOC_DAIFMT_I2S: | 311 | case SND_SOC_DAIFMT_I2S: |
