[alsa-devel] [PATCH] ASoC: DaVinci: McASP FIFO related updates

Chaithrika U S chaithrika at ti.com
Thu Oct 1 06:44:55 CEST 2009


On Thu, Oct 01, 2009 at 01:43:02, Troy Kisky wrote:
> Chaithrika U S wrote:
> > The DMA params for McASP with FIFO has been updated so that it works for
> > various FIFO levels. A member- 'fifo_level' has been added to the DMA
> > params data structure. The fifo_level can be adjusted by the tx[rx]_numevt
> > platform data. This is relevant only for DA8xx/OMAP-L1xx platforms. This
> > implementation has been tested for numevt values 1, 2, 4, 8.
> > +	if (fifo_level)
> > +		count /= fifo_level;
> 
> So can this be fifo_shift instead
> 		count >>= fifo_shift;
> 

No, it cannot be so. The fifo_level can take any value.
Have tried with values 3, 5 too...

Regards, 
Chaithrika




More information about the Alsa-devel mailing list