Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297480
b: refs/heads/master
c: 5b31687
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and Vinod Koul committed Jan 30, 2012
1 parent 20db616 commit 54a7b07
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c0fa6c8af7ab4f5d69d512a0d5fc3de512f337ae
refs/heads/master: 5b3168763f507fd46285b7310fc2d18dafe7f1c7
9 changes: 4 additions & 5 deletions trunk/drivers/dma/imx-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ static dma_cookie_t imxdma_tx_submit(struct dma_async_tx_descriptor *tx)

cookie = imxdma_assign_cookie(imxdmac);

imx_dma_enable(imxdmac->imxdma_channel);

spin_unlock_irq(&imxdmac->lock);

return cookie;
Expand Down Expand Up @@ -332,9 +330,10 @@ static struct dma_async_tx_descriptor *imxdma_prep_dma_cyclic(

static void imxdma_issue_pending(struct dma_chan *chan)
{
/*
* Nothing to do. We only have a single descriptor
*/
struct imxdma_channel *imxdmac = to_imxdma_chan(chan);

if (imxdmac->status == DMA_IN_PROGRESS)
imx_dma_enable(imxdmac->imxdma_channel);
}

static int __init imxdma_probe(struct platform_device *pdev)
Expand Down

0 comments on commit 54a7b07

Please sign in to comment.