linux/sound/soc/fsl
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
..
efika-audio-fabric.c ASoC: fsl: Add .owner to struct snd_soc_card 2011-12-22 17:34:32 +00:00
eukrea-tlv320.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
fsl_dma.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
fsl_dma.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_ssi.c ASoC: fsl: Use common DAI DMA data struct 2013-04-05 11:25:47 +01:00
fsl_ssi.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_utils.c ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
fsl_utils.h ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
imx-audmux.c Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
imx-audmux.h ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define 2012-07-18 22:09:40 +01:00
imx-mc13783.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
imx-pcm-dma.c ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional 2013-04-17 14:17:54 +01:00
imx-pcm-fiq.c ASoC: fsl: Use common DAI DMA data struct 2013-04-05 11:25:47 +01:00
imx-pcm.c ASoC: fsl: fix snd-soc-imx-pcm module build 2013-01-28 14:46:09 +08:00
imx-pcm.h ASoC: fsl: Use common DAI DMA data struct 2013-04-05 11:25:47 +01:00
imx-sgtl5000.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
imx-ssi.c ASoC: fsl: Use common DAI DMA data struct 2013-04-05 11:25:47 +01:00
imx-ssi.h ASoC: fsl: Use common DAI DMA data struct 2013-04-05 11:25:47 +01:00
Kconfig Revert "ASoC: fsl: fix multiple definition of init_module" 2013-01-28 14:46:09 +08:00
Makefile Revert "ASoC: fsl: fix multiple definition of init_module" 2013-01-28 14:46:09 +08:00
mpc5200_dma.c powerpc, dma: move bestcomm driver from arch/powerpc/sysdev to drivers/dma 2013-01-03 15:41:20 +01:00
mpc5200_dma.h ASoC: fsl: mpc5200 combine psc_dma platform data 2012-09-18 23:03:42 -04:00
mpc5200_psc_ac97.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
mpc5200_psc_ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_psc_i2s.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
mpc8610_hpcd.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
mx27vis-aic32x4.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
p1022_ds.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
p1022_rdk.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
pcm030-audio-fabric.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
phycore-ac97.c ASoC: imx: merge sound/soc/imx into sound/soc/fsl 2012-04-01 11:28:26 +01:00
wm1133-ev1.c ASoC: imx: merge sound/soc/imx into sound/soc/fsl 2012-04-01 11:28:26 +01:00