aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm.h
diff options
context:
space:
mode:
authorNicolin Chen <b42378@freescale.com>2013-10-17 06:24:29 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:05:56 -0400
commitd2589c6bcdfbcac420999e15d36ecd48a7df2742 (patch)
treef6ecc8733c49e996717663a7a00f311e4cd29532 /sound/soc/fsl/imx-pcm.h
parent4670eb63368b3a167893933fda51540d143811a6 (diff)
ENGR00283079-1 ASoC: fsl: Implement different DMA buffer sizes
Each CPU DAI driver has its own defined DMA buffer size, so this patch just drops the original one that uses a fixed size for all drivers and implements a different DMA buffer size to each driver. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r--sound/soc/fsl/imx-pcm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h
index e8ff5afa8685..ee01836ad696 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -37,11 +37,11 @@ imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data,
37} 37}
38 38
39#ifdef CONFIG_SND_SOC_IMX_PCM_DMA 39#ifdef CONFIG_SND_SOC_IMX_PCM_DMA
40int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags); 40int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags, size_t size);
41void imx_pcm_dma_exit(struct platform_device *pdev); 41void imx_pcm_dma_exit(struct platform_device *pdev);
42#else 42#else
43static inline int imx_pcm_dma_init(struct platform_device *pdev, 43static inline int imx_pcm_dma_init(struct platform_device *pdev,
44 unsigned int flags) 44 unsigned int flags, size_t size)
45{ 45{
46 return -ENODEV; 46 return -ENODEV;
47} 47}