26 Mar
2009
26 Mar
'09
3:28 p.m.
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@freescale.com
Applied, thanks!