aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-saif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r--sound/soc/mxs/mxs-saif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 3e78ba866681..abf4ddf4ed89 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -757,9 +757,9 @@ static int mxs_saif_probe(struct platform_device *pdev)
757 return ret; 757 return ret;
758 } 758 }
759 759
760 saif->dma_param.chan_irq = platform_get_irq(pdev, 1); 760 saif->dma_param.dma_data.chan_irq = platform_get_irq(pdev, 1);
761 if (saif->dma_param.chan_irq < 0) { 761 if (saif->dma_param.dma_data.chan_irq < 0) {
762 ret = saif->dma_param.chan_irq; 762 ret = saif->dma_param.dma_data.chan_irq;
763 dev_err(&pdev->dev, "failed to get dma irq resource: %d\n", 763 dev_err(&pdev->dev, "failed to get dma irq resource: %d\n",
764 ret); 764 ret);
765 return ret; 765 return ret;