[alsa-devel] [PATCH] ASoC: tlv320aic3x: Fix mono

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Tue Jan 29 21:40:18 CET 2013

On Tuesday, January 29, 2013 3:01:32 AM, Mark Brown wrote:
> On Mon, Jan 28, 2013 at 10:03:40PM +0100, Benoît Thébaudeau wrote:
> > 1) snd_soc_dai_set_tdm_slot(cpu_dai, 0xffffffc, 0xffffffc, 2, 0);
> > -> all DAI formats: wrong sample rate for L/R, playing twice too fast
> > 2) snd_soc_dai_set_tdm_slot(cpu_dai, 0xffffffe, 0xffffffe, 1, 0);
> > -> all DAI formats: nothing on R, wrong sample rate for L, playing twice
> > too
> >    fast, plus loud noise superimposed for LEFT_J
> Why are you having to call this in the first place?

For I²S, because the reference manual of the i.MX25 says that SSI.STCCR.DC
should be set to 1 (i.e. 2 channels) in this mode. This also allowed to test
several settings for mono.

For DSP modes, because stereo doesn't work without this call (right channel

> Anyway, I guess we do have a hardware limiation here so I'll apply the
> patch when you resend it.

OK. I have just resent it.

Best regards,

More information about the Alsa-devel mailing list