aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2014-12-12 10:51:22 +0000
committerThomas Gleixner <[email protected]>2014-12-13 13:41:06 +0100
commit2da399495fdbd147fa8c4c849fdcc01dad887f70 (patch)
treeb128e1485ed295c86ca3e776ed027969f909395a
parentdf870c78848aac4d953f61a8926a792de8133b9e (diff)
irqchip: gicv3-its: Fix domain free in multi-MSI case
Fix stupid thinko on the path freeing the interrupts, where only the first interrupt would get reset, and none of the others. This should only affect multi-MSI allocations. Reported-by: Wuyun Wu (Abel) <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Cc: [email protected] Cc: Robert Richter <[email protected]> Cc: Jason Cooper <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
-rw-r--r--drivers/irqchip/irq-gic-v3-its.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index e9d16151eed6..ab0185225857 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -1210,7 +1210,7 @@ static void its_irq_domain_free(struct irq_domain *domain, unsigned int virq,
clear_bit(event, its_dev->lpi_map);
/* Nuke the entry in the domain */
- irq_domain_reset_irq_data(d);
+ irq_domain_reset_irq_data(data);
}
/* If all interrupts have been freed, start mopping the floor */