aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/edma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 3754ffa09f27..4190976ababc 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -1047,7 +1047,7 @@ static int edma_probe(struct platform_device *pdev)
1047 ecc->dummy_slot = edma_alloc_slot(ecc->ctlr, EDMA_SLOT_ANY); 1047 ecc->dummy_slot = edma_alloc_slot(ecc->ctlr, EDMA_SLOT_ANY);
1048 if (ecc->dummy_slot < 0) { 1048 if (ecc->dummy_slot < 0) {
1049 dev_err(&pdev->dev, "Can't allocate PaRAM dummy slot\n"); 1049 dev_err(&pdev->dev, "Can't allocate PaRAM dummy slot\n");
1050 return -EIO; 1050 return ecc->dummy_slot;
1051 } 1051 }
1052 1052
1053 dma_cap_zero(ecc->dma_slave.cap_mask); 1053 dma_cap_zero(ecc->dma_slave.cap_mask);