Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229360
b: refs/heads/master
c: 2862559
h: refs/heads/master
v: v3
  • Loading branch information
Ilya Yanok authored and Grant Likely committed Dec 30, 2010
1 parent ab07fbc commit 7e73634
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 6504cf3412373f42b53a675363c056901c1596cf
refs/heads/master: 2862559e8a1e7c47bb3003f0edbc9db9009dc32b
9 changes: 3 additions & 6 deletions trunk/drivers/dma/mpc512x_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ static void mpc_dma_irq_process(struct mpc_dma *mdma, u32 is, u32 es, int off)

spin_lock(&mchan->lock);

out_8(&mdma->regs->dmacint, ch + off);
out_8(&mdma->regs->dmacerr, ch + off);

/* Check error status */
if (es & (1 << ch))
list_for_each_entry(mdesc, &mchan->active, node)
Expand Down Expand Up @@ -309,12 +312,6 @@ static irqreturn_t mpc_dma_irq(int irq, void *data)
mpc_dma_irq_process(mdma, in_be32(&mdma->regs->dmaintl),
in_be32(&mdma->regs->dmaerrl), 0);

/* Ack interrupt on all channels */
out_be32(&mdma->regs->dmainth, 0xFFFFFFFF);
out_be32(&mdma->regs->dmaintl, 0xFFFFFFFF);
out_be32(&mdma->regs->dmaerrh, 0xFFFFFFFF);
out_be32(&mdma->regs->dmaerrl, 0xFFFFFFFF);

/* Schedule tasklet */
tasklet_schedule(&mdma->tasklet);

Expand Down

0 comments on commit 7e73634

Please sign in to comment.