mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Tested-by: Nishanth Menon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
800c3a0e68
commit
58a5336292
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue