diff options
Diffstat (limited to 'drivers/dma/ipu/ipu_idmac.c')
-rw-r--r-- | drivers/dma/ipu/ipu_idmac.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c index 128ca143486d..bbf62927bd72 100644 --- a/drivers/dma/ipu/ipu_idmac.c +++ b/drivers/dma/ipu/ipu_idmac.c | |||
@@ -1532,11 +1532,17 @@ static int idmac_alloc_chan_resources(struct dma_chan *chan) | |||
1532 | #ifdef DEBUG | 1532 | #ifdef DEBUG |
1533 | if (chan->chan_id == IDMAC_IC_7) { | 1533 | if (chan->chan_id == IDMAC_IC_7) { |
1534 | ic_sof = ipu_irq_map(69); | 1534 | ic_sof = ipu_irq_map(69); |
1535 | if (ic_sof > 0) | 1535 | if (ic_sof > 0) { |
1536 | request_irq(ic_sof, ic_sof_irq, 0, "IC SOF", ichan); | 1536 | ret = request_irq(ic_sof, ic_sof_irq, 0, "IC SOF", ichan); |
1537 | if (ret) | ||
1538 | dev_err(&chan->dev->device, "request irq failed for IC SOF"); | ||
1539 | } | ||
1537 | ic_eof = ipu_irq_map(70); | 1540 | ic_eof = ipu_irq_map(70); |
1538 | if (ic_eof > 0) | 1541 | if (ic_eof > 0) { |
1539 | request_irq(ic_eof, ic_eof_irq, 0, "IC EOF", ichan); | 1542 | ret = request_irq(ic_eof, ic_eof_irq, 0, "IC EOF", ichan); |
1543 | if (ret) | ||
1544 | dev_err(&chan->dev->device, "request irq failed for IC EOF"); | ||
1545 | } | ||
1540 | } | 1546 | } |
1541 | #endif | 1547 | #endif |
1542 | 1548 | ||