Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261913
b: refs/heads/master
c: 1d2c098
h: refs/heads/master
i:
  261911: d517551
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jun 16, 2011
1 parent 8f27696 commit 5809cb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: c4e0dd7835d12d9765a372b586a5020ac29cc706
refs/heads/master: 1d2c0980262e70f5643df34493ffd7e608282c16
7 changes: 3 additions & 4 deletions trunk/drivers/dma/shdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,10 +766,8 @@ static void sh_chan_xfer_ld_queue(struct sh_dmae_chan *sh_chan)

spin_lock_bh(&sh_chan->desc_lock);
/* DMA work check */
if (dmae_is_busy(sh_chan)) {
spin_unlock_bh(&sh_chan->desc_lock);
return;
}
if (dmae_is_busy(sh_chan))
goto sh_chan_xfer_ld_queue_end;

/* Find the first not transferred descriptor */
list_for_each_entry(desc, &sh_chan->ld_queue, node)
Expand All @@ -783,6 +781,7 @@ static void sh_chan_xfer_ld_queue(struct sh_dmae_chan *sh_chan)
break;
}

sh_chan_xfer_ld_queue_end:
spin_unlock_bh(&sh_chan->desc_lock);
}

Expand Down

0 comments on commit 5809cb7

Please sign in to comment.