summaryrefslogtreecommitdiff
path: root/sound/arm/pxa2xx-ac97-lib.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2009-03-25 18:20:37 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-04-02 16:34:14 +0100
commita4d11fe50c238a7da5225d1399314c3505cbd792 (patch)
tree100766010c57f0ee04eed149a0b3e9fd323ca398 /sound/arm/pxa2xx-ac97-lib.c
parent7377226c344a7295a7573dce400ce9ddd42f0ca4 (diff)
ASoC: remove trigger delay in Freescale MPC8610 sound driver
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> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/arm/pxa2xx-ac97-lib.c')
0 files changed, 0 insertions, 0 deletions