1
0
Fork 0
alistair23-linux/sound/soc/ep93xx
Lars-Peter Clausen 9883ab229d ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer
Currently the sound dmaengine pcm helper functions implement the pcm_pointer
callback by trying to count the number of elapsed periods. This is done by
advancing the stream position in the dmaengine callback by one period.
Unfortunately there is no guarantee that the callback will be called for each
elapsed period. It may be possible that under high system load it is only called
once for multiple elapsed periods. This patch renames the current implementation
and documents its shortcomings and that it should not be used anymore in new
drivers.

The next patch will introduce a new snd_dmaengine_pcm_pointer which will be
implemented based on querying the current stream position from the dma device.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by Vinod Koul <vinod.koul@linux.intel.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-20 15:38:32 +01:00
..
Kconfig ASoC: ep93xx-pcm: Use dmaengine PCM helper functions 2012-03-12 19:03:39 +00:00
Makefile ASoC: EDB93xx machine sound driver with CS4271 2011-01-24 12:05:15 +00:00
edb93xx.c ep93xx: Don't use system controller defines in audio drivers 2012-01-20 13:58:27 +00:00
ep93xx-ac97.c ASoC: ep93xx-ac97: use devm_* helpers to cleanup probe 2012-04-01 11:28:29 +01:00
ep93xx-i2s.c ASoC: ep93xx-i2s: use devm_* helpers to cleanup probe 2012-04-01 11:28:29 +01:00
ep93xx-pcm.c ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
ep93xx-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
simone.c ASoC: ep93xx: Add .owner to struct snd_soc_card 2011-12-22 17:34:35 +00:00
snappercl15.c ep93xx: Don't use system controller defines in audio drivers 2012-01-20 13:58:27 +00:00