Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262043
b: refs/heads/master
c: 95bfea1
h: refs/heads/master
i:
  262041: c4beedf
  262039: e811aa1
v: v3
  • Loading branch information
Shawn Guo authored and Vinod Koul committed Jul 13, 2011
1 parent da43e01 commit 832e247
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b89243dd0e6a1c96a4a346cb3e1ba2c637cdfe98
refs/heads/master: 95bfea1675c02d83cf1923272e62f91db11cbb8f
10 changes: 6 additions & 4 deletions trunk/drivers/dma/mxs-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,12 @@ static int mxs_dma_alloc_chan_resources(struct dma_chan *chan)

memset(mxs_chan->ccw, 0, PAGE_SIZE);

ret = request_irq(mxs_chan->chan_irq, mxs_dma_int_handler,
0, "mxs-dma", mxs_dma);
if (ret)
goto err_irq;
if (mxs_chan->chan_irq != NO_IRQ) {
ret = request_irq(mxs_chan->chan_irq, mxs_dma_int_handler,
0, "mxs-dma", mxs_dma);
if (ret)
goto err_irq;
}

ret = clk_enable(mxs_dma->clk);
if (ret)
Expand Down

0 comments on commit 832e247

Please sign in to comment.