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

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Sat Jan 26 15:17:01 CET 2013

On Saturday, January 26, 2013 9:55:14 AM, Mark Brown wrote:
> On Fri, Jan 25, 2013 at 06:19:20PM +0100, Benoît Thébaudeau wrote:
> > The TLV320AIC3x DAI supports only stereo. This patch fixes mono support for
> > this
> > codec by allowing only stereo at codec level.
> So, this doesn't actually fix mono - it removes support for it.

Yes, for this driver, but this fixes mono for the whole system, meaning that
e.g. it fixes mono playback support with players like MPlayer. I will reword if
you prefer.

>  It's a
> bit surprising that this is a requirement actually, the device seems to
> support DSP modes which usually do mono totally happily (I2S style modes
> have problems due to the clocking).  I'd like to see some confirmation
> that there's not some other issue in your system...

I've only tested with I²S (imx-ssi). But for all the available DAI modes, the
data sheet gives the encoding for both stereo channels (from p. 21), and nowhere
it says that mono is an option for DAI:

I will retest with DSP modes if you prefer.

The idea was the same as for this commit:
Even though the MC13783 only supports I²S and MSB justified modes, and there may
be an issue specific to it:

Best regards,

More information about the Alsa-devel mailing list