Skip to content

Commit

Permalink
regmap: no need primary handler for nested irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yunfan Zhang authored and Mark Brown committed Sep 9, 2012
1 parent 36ac914 commit 8138073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/regmap/regmap-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8138073

Please sign in to comment.