Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233298
b: refs/heads/master
c: 8a96591
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and Sascha Hauer committed Jan 31, 2011
1 parent 6cdec87 commit dcf2708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 4b2ce9ddb370c4eb573540611c347d78ac4b54a0
refs/heads/master: 8a9659114c7be6f88253618252881ea6fe0588b4
4 changes: 1 addition & 3 deletions trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,14 +1061,12 @@ static enum dma_status sdma_tx_status(struct dma_chan *chan,
{
struct sdma_channel *sdmac = to_sdma_chan(chan);
dma_cookie_t last_used;
enum dma_status ret;

last_used = chan->cookie;

ret = dma_async_is_complete(cookie, sdmac->last_completed, last_used);
dma_set_tx_state(txstate, sdmac->last_completed, last_used, 0);

return ret;
return sdmac->status;
}

static void sdma_issue_pending(struct dma_chan *chan)
Expand Down

0 comments on commit dcf2708

Please sign in to comment.