Commit d6ada257 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Daniel Walker

[ARM] msm: irq: fix lockdep issues

Signed-off-by: default avatarBrian Swetland <swetland@google.com>
parent 36cf1b55
...@@ -101,11 +101,11 @@ static int msm_irq_set_type(unsigned int irq, unsigned int flow_type) ...@@ -101,11 +101,11 @@ static int msm_irq_set_type(unsigned int irq, unsigned int flow_type)
if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) { if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
writel(readl(treg) | b, treg); writel(readl(treg) | b, treg);
set_irq_handler(irq, handle_edge_irq); irq_desc[irq].handle_irq = handle_edge_irq;
} }
if (flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) { if (flow_type & (IRQF_TRIGGER_HIGH | IRQF_TRIGGER_LOW)) {
writel(readl(treg) & (~b), treg); writel(readl(treg) & (~b), treg);
set_irq_handler(irq, handle_level_irq); irq_desc[irq].handle_irq = handle_level_irq;
} }
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment