Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311174
b: refs/heads/master
c: 8e2e27c
h: refs/heads/master
v: v3
  • Loading branch information
Richard Zhao authored and Vinod Koul committed Jun 7, 2012
1 parent da1dad6 commit 7e96a33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 30c1dc0ff30b5552e8af555265dbeac5637cbb48
refs/heads/master: 8e2e27c7444ba7880aa0a4cb07a79de130d0ed93
6 changes: 4 additions & 2 deletions trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,6 @@ static int sdma_request_channel(struct sdma_channel *sdmac)

init_completion(&sdmac->done);

sdmac->buf_tail = 0;

return 0;
out:

Expand Down Expand Up @@ -927,6 +925,8 @@ static struct dma_async_tx_descriptor *sdma_prep_slave_sg(

sdmac->flags = 0;

sdmac->buf_tail = 0;

dev_dbg(sdma->dev, "setting up %d entries for channel %d.\n",
sg_len, channel);

Expand Down Expand Up @@ -1027,6 +1027,8 @@ static struct dma_async_tx_descriptor *sdma_prep_dma_cyclic(

sdmac->status = DMA_IN_PROGRESS;

sdmac->buf_tail = 0;

sdmac->flags |= IMX_DMA_SG_LOOP;
sdmac->direction = direction;
ret = sdma_load_context(sdmac);
Expand Down

0 comments on commit 7e96a33

Please sign in to comment.