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 32c26d795ed06d3a58c43bf3d295d8f75dcf676f..8f32a1323a79dd40e6e91433fa38e15709a3ca02 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");