Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145411
b: refs/heads/master
c: 776c894
h: refs/heads/master
i:
  145409: 80dde50
  145407: 166de48
v: v3
  • Loading branch information
Ira Snyder authored and Li Yang committed May 22, 2009
1 parent e511161 commit 69f81a4
Show file tree
Hide file tree
Showing 2 changed files with 8 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: bcfb7465c03a8c62c89da374677df56f6b894d44
refs/heads/master: 776c8943f2766f2819fafd88fdfbaf418ecd6e41
9 changes: 7 additions & 2 deletions trunk/drivers/dma/fsldma.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,14 @@ static void dma_halt(struct fsl_dma_chan *fsl_chan)
static void set_ld_eol(struct fsl_dma_chan *fsl_chan,
struct fsl_desc_sw *desc)
{
u64 snoop_bits;

snoop_bits = ((fsl_chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX)
? FSL_DMA_SNEN : 0;

desc->hw.next_ln_addr = CPU_TO_DMA(fsl_chan,
DMA_TO_CPU(fsl_chan, desc->hw.next_ln_addr, 64) | FSL_DMA_EOL,
64);
DMA_TO_CPU(fsl_chan, desc->hw.next_ln_addr, 64) | FSL_DMA_EOL
| snoop_bits, 64);
}

static void append_ld_queue(struct fsl_dma_chan *fsl_chan,
Expand Down

0 comments on commit 69f81a4

Please sign in to comment.