diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-07-25 05:41:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-25 15:11:27 -0400 |
commit | 32bd8cd25759411d3e11351db59be05446092f80 (patch) | |
tree | 48e18a2807b2bf69714f523bf4e079ec8afe14d9 /sound/soc/fsl/imx-ssi.c | |
parent | 72192366f4e1385fe6e44600aa5b75d0136e3d52 (diff) |
ASoC: fsl: Set sdma peripheral type directly
Let CPU DAI drivers set SDMA periperal type directly to support more
dma types(SPDIF, ESAI) other than only two for SSI.
This will easily allow some non-SSI drivers to use the imx-pcm-dma
as well.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index f029e27366de..f58bcd85c07f 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c | |||
@@ -571,13 +571,13 @@ static int imx_ssi_probe(struct platform_device *pdev) | |||
571 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "tx0"); | 571 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "tx0"); |
572 | if (res) { | 572 | if (res) { |
573 | imx_pcm_dma_params_init_data(&ssi->filter_data_tx, res->start, | 573 | imx_pcm_dma_params_init_data(&ssi->filter_data_tx, res->start, |
574 | false); | 574 | IMX_DMATYPE_SSI); |
575 | } | 575 | } |
576 | 576 | ||
577 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx0"); | 577 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx0"); |
578 | if (res) { | 578 | if (res) { |
579 | imx_pcm_dma_params_init_data(&ssi->filter_data_rx, res->start, | 579 | imx_pcm_dma_params_init_data(&ssi->filter_data_rx, res->start, |
580 | false); | 580 | IMX_DMATYPE_SSI); |
581 | } | 581 | } |
582 | 582 | ||
583 | platform_set_drvdata(pdev, ssi); | 583 | platform_set_drvdata(pdev, ssi); |