Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d9233146 authored by Maulik Shah's avatar Maulik Shah
Browse files

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.

Change-Id: Ie8559657bd8da926cc741514809ffe9adbd73a80
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 1041824b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment