summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/mpc5200_dma.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-11-07 11:34:05 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-07 15:40:08 +0300
commitd56b6eb6df7f6fb92383a52d640e27f71e6262d0 (patch)
tree31182236726e7b67f25dda2f551a6c0136ef97c5 /sound/soc/fsl/mpc5200_dma.h
parent8f159d720b89f2a6c5ae8a8cc54823933a58120b (diff)
downloadlinux-d56b6eb6df7f6fb92383a52d640e27f71e6262d0.tar.xz
ASoC/mpc5200: get rid of the appl_ptr tracking nonsense
Sound drivers PCM DMA is supposed to free-run until told to stop by the trigger callback. The current code tries to track appl_ptr, to avoid stale buffer data getting played out at the end of the data stream. Unfortunately it also results in race conditions which can cause the audio to stall. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/mpc5200_dma.h')
-rw-r--r--sound/soc/fsl/mpc5200_dma.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/fsl/mpc5200_dma.h b/sound/soc/fsl/mpc5200_dma.h
index 529f7a094479..d9c741bf9ab6 100644
--- a/sound/soc/fsl/mpc5200_dma.h
+++ b/sound/soc/fsl/mpc5200_dma.h
@@ -19,8 +19,6 @@
*/
struct psc_dma_stream {
struct snd_pcm_runtime *runtime;
- snd_pcm_uframes_t appl_ptr;
-
int active;
struct psc_dma *psc_dma;
struct bcom_task *bcom_task;