From: Stephen Warren Date: Tue, 10 Dec 2013 19:35:25 +0000 (-0700) Subject: ASoC: SPEAr: remove custom DMA alloc compat function X-Git-Tag: v3.14-rc1~143^2~1^2~38^2^34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1771bcf99b0dc91f4ba645c1740fd5031702f49;p=pandora-kernel.git ASoC: SPEAr: remove custom DMA alloc compat function spear_pcm_request_chan() is almost identical to dmaengine_pcm_compat_request_channel(), with the exception that the latter: a) Assumes that the DAI DMA data is a struct snd_dmaengine_dai_dma_data pointer rather than some custom type. b) dma_data->filter_data rather than dma_data should be passed to snd_dmaengine_pcm_request_channel() as the filter data. Make minor changes to the SPEAr DAI drivers so that those two conditions are met. This allows removal of the custom .compat_request_channel(). Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed