]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regmap: no need primary handler for nested irq
authorYunfan Zhang <yfzhang@marvell.com>
Sat, 8 Sep 2012 10:53:25 +0000 (03:53 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Sep 2012 03:05:45 +0000 (11:05 +0800)
The primary handler will NOT be called if the interrupt nests into
another interrupt thread. Remove it to avoid confusing.

Signed-off-by: Yunfan Zhang <yfzhang@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-irq.c

index 094f9988fdf2a201cef0da72f97bcf495b6dc149..5b6b1d8e6cc028f7bf5233741e4f396ce00a03c5 100644 (file)
@@ -226,7 +226,7 @@ static int regmap_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, &data->irq_chip, handle_edge_irq);
+       irq_set_chip(virq, &data->irq_chip);
        irq_set_nested_thread(virq, 1);
 
        /* ARM needs us to explicitly flag the IRQ as valid