Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252607
b: refs/heads/master
c: 543aabc
h: refs/heads/master
i:
  252605: e567ffc
  252603: 5c9629b
  252599: 12d360a
  252591: 8eb4cd1
  252575: 8462576
  252543: 767469c
v: v3
  • Loading branch information
Nicolas Ferre authored and Vinod Koul committed May 9, 2011
1 parent a7a84a8 commit d231989
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 711b9cea92554be6bd44f04f2485582d762fc441
refs/heads/master: 543aabc7d295bfe2489f184259395e3467520d48
7 changes: 6 additions & 1 deletion trunk/drivers/dma/at_hdmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,12 @@ atc_tx_status(struct dma_chan *chan,

spin_unlock_bh(&atchan->lock);

dma_set_tx_state(txstate, last_complete, last_used, 0);
if (ret != DMA_SUCCESS)
dma_set_tx_state(txstate, last_complete, last_used,
atc_first_active(atchan)->len);
else
dma_set_tx_state(txstate, last_complete, last_used, 0);

dev_vdbg(chan2dev(chan), "tx_status: %d (d%d, u%d)\n",
cookie, last_complete ? last_complete : 0,
last_used ? last_used : 0);
Expand Down

0 comments on commit d231989

Please sign in to comment.