diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-04-15 19:19:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-17 15:21:36 +0200 |
commit | c999836d37c6c1125e856f68877ae13952baa61a (patch) | |
tree | 77ca9109474b59a6a811e36784f3fed5b3458a2e /arch/ia64/kernel/palinfo.c | |
parent | ASoC: Add a generic dmaengine_pcm driver (diff) | |
download | linux-c999836d37c6c1125e856f68877ae13952baa61a.tar.xz linux-c999836d37c6c1125e856f68877ae13952baa61a.zip |
ASoC: dmaengine_pcm: Add support for compat platforms
Add support for platforms which don't use devicetree yet or have to optionally
support a non-devicetree way to request the DMA channel. The patch adds the
compat_request_channel and compat_filter_fn callbacks to the
snd_dmaengine_pcm_config struct. If the compat_request_channel is implemented it
will be used to request the DMA channel. If not dma_request_channel with
compat_filter_fn as the filter function will be used to request the channel.
The patch also exports the snd_dmaengine_pcm_request_chan() function, since
compat platforms will want to use it to request their DMA channel.
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>
Diffstat (limited to 'arch/ia64/kernel/palinfo.c')
0 files changed, 0 insertions, 0 deletions