android_kernel_motorola_sm6225/sound/soc/pxa
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
..
brownstone.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
corgi.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
e740_wm9705.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
e750_wm9705.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
e800_wm9712.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
em-x270.c ASoC: pxa: Add .owner to struct snd_soc_card 2011-12-22 11:04:18 +00:00
hx4700.c ASoC: pxa/hx4700: remove __dev* attributes 2012-12-10 00:29:59 +09:00
imote2.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
Kconfig ASoC: add ttc-dkb machine support 2012-06-13 13:16:14 +01:00
magician.c ASoC: core: Add support for DAI and machine kcontrols. 2012-02-04 12:40:11 +00:00
Makefile ASoC: add ttc-dkb machine support 2012-06-13 13:16:14 +01:00
mioa701_wm9713.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
mmp-pcm.c ASoC: dmaengine-pcm: Make requesting the DMA channel at PCM open optional 2013-04-17 14:17:54 +01:00
mmp-sspa.c ASoC: Convert to devm_ioremap_resource() 2013-01-22 11:41:58 -08:00
mmp-sspa.h ASoC: mmp: add sspa support 2012-06-13 13:13:39 +01:00
palm27x.c ASoC: palm27x: register card in platform_driver probe 2013-01-02 13:07:01 +00:00
poodle.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
pxa-ssp.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
pxa-ssp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-ac97.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
pxa2xx-ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-i2s.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
pxa2xx-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-pcm.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
raumfeld.c ASoC: Remove unnecessary -codec from cs4270 driver name 2012-02-28 12:35:20 +00:00
saarb.c ASoC: Convert saarb to table based DAPM init 2012-01-02 13:08:36 +00:00
spitz.c ASoC: Change spitz_ext_control to take dapm as argument. 2012-02-17 08:09:33 -08:00
tavorevb3.c ASoC: Use dai_fmt in tavorevb3 machine driver 2012-01-02 13:08:39 +00:00
tosa.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
ttc-dkb.c ASoC: pxa: remove __dev* attributes 2012-12-10 00:30:34 +09:00
z2.c ASoC: Convert z2 to table based DAPM init 2012-01-02 13:08:38 +00:00
zylonite.c ASoC: pxa: Add .owner to struct snd_soc_card 2011-12-22 11:04:18 +00:00