From: Grygorii Strashko Date: Fri, 26 Feb 2016 15:53:57 +0000 (+0200) Subject: regmap: irq: Enable irq retriggering for nested irqs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58a5336292abb032085d621810c3c41c9cea36ed;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Grygorii Strashko Tested-by: Nishanth Menon Signed-off-by: Mark Brown --- diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 36d08ca2cbe2..26f799e71c82 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c @@ -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(virq, &data->irq_chip); irq_set_nested_thread(virq, 1); + irq_set_parent(virq, data->irq); irq_set_noprobe(virq); return 0;