ASoC: ep93xx: remove custom DMA alloc compat function
authorStephen Warren <swarren@nvidia.com>
Tue, 10 Dec 2013 19:34:46 +0000 (12:34 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 18 Dec 2013 18:54:03 +0000 (18:54 +0000)
commita8983d4b0a8c439bddae0c9fd1e8a4cf7c402262
tree3ca552988e191ab91b064de4b817516f661f8e58
parent6f2032a18969d22740a865e0b4f2e48cf5338f36
ASoC: ep93xx: remove custom DMA alloc compat function

ep93xx_compat_request_channel() 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 ep93xx DAI drivers so that those two conditions
are met. This allows removal of the custom .compat_request_channel().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/cirrus/ep93xx-ac97.c
sound/soc/cirrus/ep93xx-i2s.c
sound/soc/cirrus/ep93xx-pcm.c
This page took 0.121439 seconds and 5 git commands to generate.