sh: intc: Fix up multi-evt irq association.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Aug 2012 05:51:50 +0000 (14:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Aug 2012 05:51:50 +0000 (14:51 +0900)
In the multi-evt case we were accidentally associating the parent IRQ,
fix this up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/core.c

index 32c26d7..8f32a13 100644 (file)
@@ -355,7 +355,7 @@ int __init register_intc_controller(struct intc_desc *desc)
                        if (unlikely(res)) {
                                if (res == -EEXIST) {
                                        res = irq_domain_associate(d->domain,
-                                                                  irq, irq);
+                                                                  irq2, irq2);
                                        if (unlikely(res)) {
                                                pr_err("domain association "
                                                       "failure\n");