diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2015-06-23 12:23:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-07 14:16:12 +0200 |
commit | 0d69e0dddf5fe86675c56bc0f0520ffb0cbf1fcd (patch) | |
tree | 2a71f90e41c45a94bf7e226386b7958a4c8e03a2 /sound/soc/fsl/fsl_spdif.c | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-0d69e0dddf5fe86675c56bc0f0520ffb0cbf1fcd.tar.xz linux-0d69e0dddf5fe86675c56bc0f0520ffb0cbf1fcd.zip |
ASoC: fsl: Add dedicated DMA buffer size for each cpu dai
As the ssi is not the only cpu dai, there are esai, spdif, sai.
and imx_pcm_dma can be used by all of them. Especially ESAI need
a larger DMA buffer size. So Add dedicated DMA buffer for each cpu
dai.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 8e932219cb3a..d1e9be771f84 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1255,7 +1255,7 @@ static int fsl_spdif_probe(struct platform_device *pdev) return ret; } - ret = imx_pcm_dma_init(pdev); + ret = imx_pcm_dma_init(pdev, IMX_SPDIF_DMABUF_SIZE); if (ret) dev_err(&pdev->dev, "imx_pcm_dma_init failed: %d\n", ret); |