[alsa-devel] [PATCH] ASoC: Automatically set TDM if needed on pxa-ssp and allow frame width override when using TDM.

Daniel Ribeiro drwyrm at gmail.com
Wed Jun 10 16:17:29 CEST 2009

Em Qua, 2009-06-10 às 14:05 +0200, pHilipp Zabel escreveu:
> Hmm right, the real frame width is DataSize * slots. So maybe
>        /* set data size */
>        data_size = frame_width/slots;
>        if (data_size > 16)
>                sscr0 |= SSCR0_EDSS | SSCR0_DataSize(data_size - 16);
>        else
>                sscr0 |= SSCR0_DataSize(data_size);
> would be more appropriate. Or have that parameter be sample_width
> instead, as Mark initially proposed.


Naming it frame_width was not a good idea. Im using frame_width for the
distance between each SFRM assertion when not networked and for the
duration of each slot when networked. I will name it slot_width instead.

Daniel Ribeiro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
 assinada digitalmente
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090610/8e91025f/attachment.sig 

More information about the Alsa-devel mailing list