]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
irqchip/irq-pruss-intc: Reset chained handlers during cleanup
authorSuman Anna <s-anna@ti.com>
Thu, 18 Apr 2019 19:46:59 +0000 (14:46 -0500)
committerSuman Anna <s-anna@ti.com>
Mon, 22 Apr 2019 17:07:03 +0000 (12:07 -0500)
commit6929520b166894ac807fe61d900dd9627eb9554b
tree12e6fa8a6a0d64169dc00dcfcf5bc0d1a59887b2
parent3f7a6ae7d5d9724cfbe480bb8a12009aa4e5061c
irqchip/irq-pruss-intc: Reset chained handlers during cleanup

The PRUSS INTC irqchip implementation provides a standard IRQ API
for consumers to directly use the PRU System Events as interrupts
and uses chained interrupts for connecting these to the main ARM
GIC interrupt controllers. These chained irq handlers are not removed
at present during any failures in probe, or uninstalled in remove.

Reset these chained handlers so that the interrupts at the GIC
level are deactivated properly when the INTC devices are unbound
from the driver.

Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/irqchip/irq-pruss-intc.c