linux/sound/soc/mxs
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: mxs-pcm: Use dmaengine PCM helper functions 2012-03-02 13:47:36 +00:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
mxs-pcm.c ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
mxs-pcm.h ASoC: mxs: mxs-pcm does not need to be a plaform_driver 2012-05-12 11:04:58 +01:00
mxs-saif.c Sound updates for 3.5-rc1 2012-05-23 13:05:43 -07:00
mxs-saif.h ASoC: mxs: mxs-pcm does not need to be a plaform_driver 2012-05-12 11:04:58 +01:00
mxs-sgtl5000.c ASoC: make snd_soc_dai_link more symmetrical 2012-06-03 13:06:41 +01:00