linux/sound/soc/omap
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
..
am3517evm.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
ams-delta.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
Kconfig ASoC: OMAP: Remove obsolete machine drivers for Zoom2 and SDP3430 2013-01-02 13:04:25 +00:00
Makefile ASoC: OMAP: Remove obsolete machine drivers for Zoom2 and SDP3430 2013-01-02 13:04:25 +00:00
mcbsp.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
mcbsp.h ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
n810.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-abe-twl6040.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-dmic.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi-card.c ASoC: OMAP: remove __dev* attributes 2012-12-10 00:31:32 +09:00
omap-hdmi.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-hdmi.h ASoC: OMAP: HDMI: Expand capabilities of the HDMI DAI 2012-05-22 17:33:23 +01:00
omap-mcbsp.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-mcbsp.h ASoC: omap-mcbsp: Remove unused defines 2012-08-22 20:17:11 +01:00
omap-mcpdm.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional 2013-04-17 14:17:54 +01:00
omap-twl4030.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
omap3pandora.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
osk5912.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
rx51.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00