diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-04-08 06:46:10 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:18 -0400 |
commit | cf0e709ba674b3f82b6b5ee5c3bd5b3534c8b6b6 (patch) | |
tree | b066ae8f599be9e8fd3f9ba343ca4f9a221523cb /sound/soc/fsl/fsl_sai.c | |
parent | 80f676b476d21c22bda1daf62998e5a837f8e4df (diff) |
ENGR00307635-1 ASoC: fsl_sai: Specify buffer size for SAI
Add a new micro for SAI so as to make further define flexible.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index c7874b357ef2..ffdd1417ed46 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Freescale ALSA SoC Digital Audio Interface (SAI) driver. | 2 | * Freescale ALSA SoC Digital Audio Interface (SAI) driver. |
3 | * | 3 | * |
4 | * Copyright 2012-2013 Freescale Semiconductor, Inc. | 4 | * Copyright 2012-2014 Freescale Semiconductor, Inc. |
5 | * | 5 | * |
6 | * This program is free software, you can redistribute it and/or modify it | 6 | * This program is free software, you can redistribute it and/or modify it |
7 | * under the terms of the GNU General Public License as published by the | 7 | * under the terms of the GNU General Public License as published by the |
@@ -674,7 +674,7 @@ static int fsl_sai_probe(struct platform_device *pdev) | |||
674 | 674 | ||
675 | if (sai->sai_on_imx) | 675 | if (sai->sai_on_imx) |
676 | return imx_pcm_dma_init(pdev, SND_DMAENGINE_PCM_FLAG_NO_RESIDUE, | 676 | return imx_pcm_dma_init(pdev, SND_DMAENGINE_PCM_FLAG_NO_RESIDUE, |
677 | IMX_SSI_DMABUF_SIZE); | 677 | IMX_SAI_DMABUF_SIZE); |
678 | else | 678 | else |
679 | return devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, | 679 | return devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, |
680 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE); | 680 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE); |