From: Charles Keepax Date: Tue, 9 Sep 2014 16:00:09 +0000 (+0100) Subject: mfd: arizona: Use handle_simple_irq for IRQ dispatch chip X-Git-Tag: v3.18-rc1~40^2~21 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cfeb35da2ae36e26f6136b80351a06d34776587b;p=karo-tx-linux.git mfd: arizona: Use handle_simple_irq for IRQ dispatch chip We use a dummy IRQ chip to dispatch interrupts to the two seperate IRQ domains on the Arizona devices. This is just a simple software IRQ chip and thus the current handle_edge_irq is unnecessary for its needs. Signed-off-by: Charles Keepax Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 5e2f450a6176..3a3fe7cc6d61 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -172,7 +172,7 @@ static int arizona_irq_map(struct irq_domain *h, unsigned int virq, struct regmap_irq_chip_data *data = h->host_data; irq_set_chip_data(virq, data); - irq_set_chip_and_handler(virq, &arizona_irq_chip, handle_edge_irq); + irq_set_chip_and_handler(virq, &arizona_irq_chip, handle_simple_irq); irq_set_nested_thread(virq, 1); /* ARM needs us to explicitly flag the IRQ as valid