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

Troy Kisky troy.kisky at boundarydevices.com
Wed Sep 30 22:13:02 CEST 2009


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;


More information about the Alsa-devel mailing list