diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-11-07 01:34:05 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-11-07 12:40:08 +0000 |
commit | d56b6eb6df7f6fb92383a52d640e27f71e6262d0 (patch) | |
tree | 31182236726e7b67f25dda2f551a6c0136ef97c5 /sound/soc/fsl/mpc5200_dma.h | |
parent | 8f159d720b89f2a6c5ae8a8cc54823933a58120b (diff) | |
download | linux-d56b6eb6df7f6fb92383a52d640e27f71e6262d0.tar.gz linux-d56b6eb6df7f6fb92383a52d640e27f71e6262d0.tar.bz2 linux-d56b6eb6df7f6fb92383a52d640e27f71e6262d0.zip |
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.h | 2 |
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; |