aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-ssi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r--sound/soc/fsl/imx-ssi.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
index 51be3772cba9..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);
@@ -595,7 +595,12 @@ static int imx_ssi_probe(struct platform_device *pdev)
595 goto failed_register; 595 goto failed_register;
596 } 596 }
597 597
598 ret = imx_pcm_fiq_init(pdev); 598 ssi->fiq_params.irq = ssi->irq;
599 ssi->fiq_params.base = ssi->base;
600 ssi->fiq_params.dma_params_rx = &ssi->dma_params_rx;
601 ssi->fiq_params.dma_params_tx = &ssi->dma_params_tx;
602
603 ret = imx_pcm_fiq_init(pdev, &ssi->fiq_params);
599 if (ret) 604 if (ret)
600 goto failed_pcm_fiq; 605 goto failed_pcm_fiq;
601 606