tmp_suning_uos_patched/sound/soc/mxs
Lars-Peter Clausen 7c1c1d4a7b ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional
Refactor the dmaengine PCM library to allow the DMA channel to be requested
before opening a PCM substream. snd_dmaengine_pcm_open() now expects a DMA
channel instead of a filter function and filter parameter as its parameters.
snd_dmaengine_pcm_close() is updated to not release the DMA channel. This allows
a dmaengine based PCM driver to request its channels before the substream is
opened.

The patch also introduces two new functions, snd_dmaengine_pcm_open_request_chan()
and snd_dmaengine_pcm_close_release_chan(), which have the same signature and
behaviour of the old snd_dmaengine_pcm_{open,close}() and internally use the new
variants of these functions. All users of snd_dmaengine_pcm_{open,close}() are
updated to use snd_dmaengine_pcm_open_request_chan() and
snd_dmaengine_pcm_close_release_chan().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-04-17 14:17:54 +01:00
..
Kconfig ASoC: mxs: Fix the name of the SoC family 2012-08-08 12:15:10 +01:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
mxs-pcm.c ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional 2013-04-17 14:17:54 +01:00
mxs-pcm.h ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct 2013-03-26 14:17:41 +00:00
mxs-saif.c ASoC: mxs: Embed the mxs_dma_data struct in the mxs_pcm_dma_params struct 2013-03-26 14:17:41 +00: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: mxs: remove __dev* attributes 2012-12-10 00:31:26 +09:00