Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69483
b: refs/heads/master
c: ba7d850
h: refs/heads/master
i:
  69481: d59c100
  69479: f8401ed
v: v3
  • Loading branch information
Uwe Kleine-König authored and Russell King committed Oct 12, 2007
1 parent 70b3e3a commit 8bec2ee
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: ff9e76aaba13f6f6bae31c9ac2aa2a50f5cdd801
refs/heads/master: ba7d850a02c7c3357ec488776405470534e7ccf8
9 changes: 7 additions & 2 deletions trunk/arch/arm/mach-ns9xxx/board-a9m9750dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,20 @@ static void a9m9750dev_fpga_demux_handler(unsigned int irq,
{
int stat = FPGA_ISR;

desc->chip->mask_ack(irq);

while (stat != 0) {
int irqno = fls(stat) - 1;
struct irq_desc *fpgadesc;

stat &= ~(1 << irqno);

desc = irq_desc + FPGA_IRQ(irqno);
fpgadesc = irq_desc + FPGA_IRQ(irqno);

desc_handle_irq(FPGA_IRQ(irqno), desc);
desc_handle_irq(FPGA_IRQ(irqno), fpgadesc);
}

desc->chip->unmask(irq);
}

void __init board_a9m9750dev_init_irq(void)
Expand Down

0 comments on commit 8bec2ee

Please sign in to comment.