Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137487
b: refs/heads/master
c: 52176e7
h: refs/heads/master
i:
  137485: e71e537
  137483: 48f44a5
  137479: e187ae9
  137471: 2e32a79
v: v3
  • Loading branch information
Santosh Shilimkar authored and Tony Lindgren committed Mar 24, 2009
1 parent 74de96d commit 3d6a872
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2263f0222e836c7b2c144e0546a2701661e2f517
refs/heads/master: 52176e70837d56cd238d6edc04cc403f1ffa86c6
4 changes: 3 additions & 1 deletion trunk/arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ static int omap2_dma_handle_ch(int ch)
/* STATUS register count is from 1-32 while our is 0-31 */
static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id)
{
u32 val;
u32 val, enable_reg;
int i;

val = dma_read(IRQSTATUS_L0);
Expand All @@ -1910,6 +1910,8 @@ static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id)
printk(KERN_WARNING "Spurious DMA IRQ\n");
return IRQ_HANDLED;
}
enable_reg = dma_read(IRQENABLE_L0);
val &= enable_reg; /* Dispatch only relevant interrupts */
for (i = 0; i < dma_lch_count && val != 0; i++) {
if (val & 1)
omap2_dma_handle_ch(i);
Expand Down

0 comments on commit 3d6a872

Please sign in to comment.