提交 58a53362 编写于 作者: G Grygorii Strashko 提交者: Mark Brown

regmap: irq: Enable irq retriggering for nested irqs

When nested interrupts are handled with regmap irq framework, we need to
mark the interrupts to be resend for pending interrupts on enable_irq.
Else the events might be lost for nested irqs.
Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com>
Tested-by: NNishanth Menon <nm@ti.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 800c3a0e
...@@ -379,6 +379,7 @@ static int regmap_irq_map(struct irq_domain *h, unsigned int virq, ...@@ -379,6 +379,7 @@ static int regmap_irq_map(struct irq_domain *h, unsigned int virq,
irq_set_chip_data(virq, data); irq_set_chip_data(virq, data);
irq_set_chip(virq, &data->irq_chip); irq_set_chip(virq, &data->irq_chip);
irq_set_nested_thread(virq, 1); irq_set_nested_thread(virq, 1);
irq_set_parent(virq, data->irq);
irq_set_noprobe(virq); irq_set_noprobe(virq);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册