aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2013-04-25 10:37:08 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:00:41 -0400
commit2cda1abae73da8fa48213d8ac838ee4566f9fcb1 (patch)
tree7e757dd684455b34577250254f7a9632370a2ca4 /sound/soc/fsl/imx-pcm.h
parent81081dadfa88de431b8ad0a7a4c8c510e29fbb5d (diff)
ASoC: fsl: move fsl_ssi to generic DMA DT bindings
It removes the temporary custom DMA bindings from fsl_ssi driver and use the generic one instead. It leaves imx-ssi drive unchanged regarding those pcm flags by updating imx_pcm_dma_init() to let SSI driver decide the flags. Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r--sound/soc/fsl/imx-pcm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h
index 67f656c7c320..20b46f285d45 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -33,10 +33,11 @@ imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data,
33} 33}
34 34
35#ifdef CONFIG_SND_SOC_IMX_PCM_DMA 35#ifdef CONFIG_SND_SOC_IMX_PCM_DMA
36int imx_pcm_dma_init(struct platform_device *pdev); 36int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags);
37void imx_pcm_dma_exit(struct platform_device *pdev); 37void imx_pcm_dma_exit(struct platform_device *pdev);
38#else 38#else
39static inline int imx_pcm_dma_init(struct platform_device *pdev) 39static inline int imx_pcm_dma_init(struct platform_device *pdev,
40 unsigned int flags)
40{ 41{
41 return -ENODEV; 42 return -ENODEV;
42} 43}