OpenCloudOS-Kernel/sound/soc/ux500
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: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
Makefile ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500.c ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500_ab8500.c ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500_ab8500.h ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
ux500_msp_dai.c ASoC: Ux500: Correct license strings 2012-06-13 17:22:41 +08:00
ux500_msp_dai.h ASoC: Ux500: Add MSP I2S-driver 2012-05-09 12:52:59 +01:00
ux500_msp_i2s.c ASoC: Ux500: Correct license strings 2012-06-13 17:22:41 +08:00
ux500_msp_i2s.h ASoC: Ux500: Add MSP I2S-driver 2012-05-09 12:52:59 +01:00
ux500_pcm.c ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer 2012-06-20 15:38:32 +01:00
ux500_pcm.h ASoC: Ux500: Add platform-driver 2012-06-03 13:06:38 +01:00