diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2013-04-25 10:37:08 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:00:41 -0400 |
commit | 2cda1abae73da8fa48213d8ac838ee4566f9fcb1 (patch) | |
tree | 7e757dd684455b34577250254f7a9632370a2ca4 /sound/soc/fsl/imx-ssi.c | |
parent | 81081dadfa88de431b8ad0a7a4c8c510e29fbb5d (diff) |
ASoC: fsl: move fsl_ssi to generic DMA DT bindings
It removes the temporary custom DMA bindings from fsl_ssi driver and use
the generic one instead. It leaves imx-ssi drive unchanged regarding
those pcm flags by updating imx_pcm_dma_init() to let SSI driver decide
the flags.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index a8362be3cd18..7b48ac264e8f 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c | |||
@@ -594,7 +594,9 @@ static int imx_ssi_probe(struct platform_device *pdev) | |||
594 | if (ret) | 594 | if (ret) |
595 | goto failed_pcm_fiq; | 595 | goto failed_pcm_fiq; |
596 | 596 | ||
597 | ret = imx_pcm_dma_init(pdev); | 597 | ret = imx_pcm_dma_init(pdev, SND_DMAENGINE_PCM_FLAG_NO_RESIDUE | |
598 | SND_DMAENGINE_PCM_FLAG_NO_DT | | ||
599 | SND_DMAENGINE_PCM_FLAG_COMPAT); | ||
598 | if (ret) | 600 | if (ret) |
599 | goto failed_pcm_dma; | 601 | goto failed_pcm_dma; |
600 | 602 | ||