[alsa-devel] [PATCH] ASoC: omap-mcbsp: Add support for Left Justified format
Jarkko Nikula
jhnikula at gmail.com
Fri Mar 19 11:13:08 CET 2010
On Fri, 19 Mar 2010 12:00:03 +0200
Peter Ujfalusi <peter.ujfalusi at nokia.com> wrote:
> Now with:
> /* Left justified */
> fmt = SND_SOC_DAIFMT_LEFT_J |
> SND_SOC_DAIFMT_NB_IF |
> SND_SOC_DAIFMT_CBM_CFM;
>
> The data line has data when the FS is high (when FS is low, that data line has
> 0). So this is correct Left Justified.
>
> At least it seams that McBSP is actually shifting out the data at the correct
> place, when it is slave..
>
> Oh, and I can not explain why this is working, but I do trust on my scope, and
> it shows me that it is correct :o
>
For me it looks it's working because of NB_IF so try again with
NB_NF :-)
--
Jarkko
More information about the Alsa-devel
mailing list