From: Lars-Peter Clausen Date: Mon, 15 Apr 2013 17:19:51 +0000 (+0200) Subject: ASoC: dmaengine_pcm: Add support for compat platforms X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~29^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c999836d37c6c1125e856f68877ae13952baa61a;p=pandora-kernel.git 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 Tested-by: Stephen Warren Tested-by: Shawn Guo Signed-off-by: Mark Brown --- Reading git-diff-tree failed