Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286132
b: refs/heads/master
c: feb397d
h: refs/heads/master
v: v3
  • Loading branch information
Lothar Waßmann authored and Vinod Koul committed Dec 23, 2011
1 parent 33658b8 commit 37c5937
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 400312201b0cf4e4deaf75842f5e95212b382e81
refs/heads/master: feb397de65c3f76e40ef70e264f2cdf688c850c1
7 changes: 2 additions & 5 deletions trunk/drivers/dma/mxs-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)

ret = clk_enable(mxs_dma->clk);
if (ret)
goto err_out;
return ret;

ret = mxs_reset_block(mxs_dma->base);
if (ret)
Expand All @@ -604,11 +604,8 @@ static int __init mxs_dma_init(struct mxs_dma_engine *mxs_dma)
writel(MXS_DMA_CHANNELS_MASK << MXS_DMA_CHANNELS,
mxs_dma->base + HW_APBHX_CTRL1 + MXS_SET_ADDR);

clk_disable(mxs_dma->clk);

return 0;

err_out:
clk_disable(mxs_dma->clk);
return ret;
}

Expand Down

0 comments on commit 37c5937

Please sign in to comment.