diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-04-15 13:19:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-17 09:26:33 -0400 |
commit | adaa3229fbb88532e0d460afad779efbfb92ffeb (patch) | |
tree | 1ea22aba1d3ee1abcc27ab8f10365dddb4ad487f /sound/soc/fsl/imx-pcm.h | |
parent | fc8ba7f94d84e1ccd351e41c778e36710834334e (diff) |
ASoC: imx: Use generic dmaengine PCM
Use the generic dmaengine PCM driver instead of a custom implementation.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r-- | sound/soc/fsl/imx-pcm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h index be9cc64a208b..b7fa0d75c687 100644 --- a/sound/soc/fsl/imx-pcm.h +++ b/sound/soc/fsl/imx-pcm.h | |||
@@ -39,11 +39,16 @@ void imx_pcm_free(struct snd_pcm *pcm); | |||
39 | 39 | ||
40 | #ifdef CONFIG_SND_SOC_IMX_PCM_DMA | 40 | #ifdef CONFIG_SND_SOC_IMX_PCM_DMA |
41 | int imx_pcm_dma_init(struct platform_device *pdev); | 41 | int imx_pcm_dma_init(struct platform_device *pdev); |
42 | void imx_pcm_dma_exit(struct platform_device *pdev); | ||
42 | #else | 43 | #else |
43 | static inline int imx_pcm_dma_init(struct platform_device *pdev) | 44 | static inline int imx_pcm_dma_init(struct platform_device *pdev) |
44 | { | 45 | { |
45 | return -ENODEV; | 46 | return -ENODEV; |
46 | } | 47 | } |
48 | |||
49 | static inline void imx_pcm_dma_exit(struct platform_device *pdev) | ||
50 | { | ||
51 | } | ||
47 | #endif | 52 | #endif |
48 | 53 | ||
49 | #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ | 54 | #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ |