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-ssi.c | |
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-ssi.c')
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index 7b48ac264e8f..ab74902d381d 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c | |||
@@ -596,7 +596,8 @@ static int imx_ssi_probe(struct platform_device *pdev) | |||
596 | 596 | ||
597 | ret = imx_pcm_dma_init(pdev, SND_DMAENGINE_PCM_FLAG_NO_RESIDUE | | 597 | ret = imx_pcm_dma_init(pdev, SND_DMAENGINE_PCM_FLAG_NO_RESIDUE | |
598 | SND_DMAENGINE_PCM_FLAG_NO_DT | | 598 | SND_DMAENGINE_PCM_FLAG_NO_DT | |
599 | SND_DMAENGINE_PCM_FLAG_COMPAT); | 599 | SND_DMAENGINE_PCM_FLAG_COMPAT, |
600 | IMX_SSI_DMABUF_SIZE); | ||
600 | if (ret) | 601 | if (ret) |
601 | goto failed_pcm_dma; | 602 | goto failed_pcm_dma; |
602 | 603 | ||