[alsa-devel] [PATCH 2.6.30] ASoC: remove trigger delay in Freescale MPC8610 sound driver

Mark Brown broonie at sirena.org.uk
Thu Mar 26 15:28:59 CET 2009

On Wed, Mar 25, 2009 at 06:20:37PM -0500, Timur Tabi wrote:
> Remove the delay from the trigger function in the Freescale MPC8610 sound
> driver when capture is started.  This delay was used to ensure that the DMA
> controller was active when ALSA call the .pointer function to request a
> DMA transfer status.  A better approach is for the .pointer function to detect
> that DMA has not started, and return zero instead.  This change eliminates
> the need for the delay.

> Also add some related code to check for a DMA programming error, and report
> XRUN if it occurs.

> Signed-off-by: Timur Tabi <timur at freescale.com>

Applied, thanks!

More information about the Alsa-devel mailing list