Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173843
b: refs/heads/master
c: 947a246
h: refs/heads/master
i:
  173841: e4379a5
  173839: 45a27ba
v: v3
  • Loading branch information
Ramax Lo authored and Ben Dooks committed Dec 8, 2009
1 parent 8519dc5 commit 4be7617
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: 93b0d8c6b67b7d337509a36dbfcdb6d6eac1ef12
refs/heads/master: 947a2462792a89b8aa168a1108288e0d0ae36d12
6 changes: 4 additions & 2 deletions trunk/arch/arm/plat-s3c24xx/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1403,11 +1403,13 @@ static struct s3c2410_dma_chan *s3c2410_dma_map_channel(int channel)
ord = &dma_order->channels[channel];

for (ch = 0; ch < dma_channels; ch++) {
int tmp;
if (!is_channel_valid(ord->list[ch]))
continue;

if (s3c2410_chans[ord->list[ch]].in_use == 0) {
ch = ord->list[ch] & ~DMA_CH_VALID;
tmp = ord->list[ch] & ~DMA_CH_VALID;
if (s3c2410_chans[tmp].in_use == 0) {
ch = tmp;
goto found;
}
}
Expand Down

0 comments on commit 4be7617

Please sign in to comment.