diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-10-17 06:24:29 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:05:56 -0400 |
commit | d2589c6bcdfbcac420999e15d36ecd48a7df2742 (patch) | |
tree | f6ecc8733c49e996717663a7a00f311e4cd29532 /sound/soc/fsl/imx-pcm.h | |
parent | 4670eb63368b3a167893933fda51540d143811a6 (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.h | 4 |
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 |
40 | int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags); | 40 | int imx_pcm_dma_init(struct platform_device *pdev, unsigned int flags, size_t size); |
41 | void imx_pcm_dma_exit(struct platform_device *pdev); | 41 | void imx_pcm_dma_exit(struct platform_device *pdev); |
42 | #else | 42 | #else |
43 | static inline int imx_pcm_dma_init(struct platform_device *pdev, | 43 | static 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 | } |