ANDROID: GKI: genirq: Introduce irq_chip_get/set_parent_state calls
On certain QTI chipsets some GPIOs are direct-connect interrupts to the GIC. Even when GPIOs are not used for interrupt generation and interrupt line is disabled, it does not prevent interrupt to get pending at GIC_ISPEND. When drivers call enable_irq unwanted interrupt occures. Introduce irq_chip_get/set_parent_state calls to clear pending irq which can get called within irq_enable of child irq chip to clear any pending irq before enabling. Signed-off-by:Maulik Shah <mkshah@codeaurora.org> Bug: 150233439 Change-Id: Ie8559657bd8da926cc741514809ffe9adbd73a80 Signed-off-by:
Will McVicker <willmcvicker@google.com> (cherry picked from commit d9233146224bdeec6a8a4cc684bec303e38fb9af)
Loading
Please register or sign in to comment