Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372256
b: refs/heads/master
c: d1b6aec
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Simon Horman committed Mar 18, 2013
1 parent 6e99acc commit bb42ffe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33f958f2a71c44164698d1cae5463c0b85296a2c
refs/heads/master: d1b6aecde4ab146d115abcaf3bb1940d8e980b5a
9 changes: 9 additions & 0 deletions trunk/drivers/irqchip/irq-renesas-intc-irqpin.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ static void intc_irqpin_irq_enable_force(struct irq_data *d)
int irq = p->irq[irqd_to_hwirq(d)].requested_irq;

intc_irqpin_irq_enable(d);

/* enable interrupt through parent interrupt controller,
* assumes non-shared interrupt with 1:1 mapping
* needed for busted IRQs on some SoCs like sh73a0
*/
irq_get_chip(irq)->irq_unmask(irq_get_irq_data(irq));
}

Expand All @@ -207,6 +212,10 @@ static void intc_irqpin_irq_disable_force(struct irq_data *d)
struct intc_irqpin_priv *p = irq_data_get_irq_chip_data(d);
int irq = p->irq[irqd_to_hwirq(d)].requested_irq;

/* disable interrupt through parent interrupt controller,
* assumes non-shared interrupt with 1:1 mapping
* needed for busted IRQs on some SoCs like sh73a0
*/
irq_get_chip(irq)->irq_mask(irq_get_irq_data(irq));
intc_irqpin_irq_disable(d);
}
Expand Down

0 comments on commit bb42ffe

Please sign in to comment.