linux/sound/soc/atmel
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
..
atmel_ssc_dai.c ASoC: atmel_ssc_dai: correct sequence when unload 2013-02-04 18:34:14 +00:00
atmel_ssc_dai.h ASoC: atmel-ssc-dai: register dai and pcm directly 2012-11-16 10:24:38 +09:00
atmel-pcm-dma.c ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional 2013-04-17 14:17:54 +01:00
atmel-pcm-pdc.c ASoC: atmel-soc: make it buildable on other architectures 2012-12-24 15:48:25 +00:00
atmel-pcm.c ASoC: atmel-soc: make it buildable on other architectures 2012-12-24 15:48:25 +00:00
atmel-pcm.h ASoC: atmel_pcm: make it buildable as module 2013-02-04 18:34:13 +00:00
Kconfig ASoC: atmel-soc: make it buildable on other architectures 2012-12-24 15:48:25 +00:00
Makefile ASoC: atmel-pcm: dma support based on pcm dmaengine 2012-12-02 13:29:19 +09:00
sam9g20_wm8731.c ASoC: sam9g20_wm8731: disable clock and correct sequence when unload 2013-02-04 18:34:14 +00:00
snd-soc-afeb9260.c ASoC: Convert afeb9260 to table based DAPM init 2012-02-01 21:52:54 +00:00