]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/qcom-pdc: Add irqchip set/get state calls
authorMaulik Shah <mkshah@codeaurora.org>
Fri, 15 Nov 2019 22:11:50 +0000 (15:11 -0700)
committerMarc Zyngier <maz@kernel.org>
Sat, 16 Nov 2019 10:22:01 +0000 (10:22 +0000)
commit0c9c2970af8ee7886f05be942c7f4207e2b0793b
treee4f6ea4bb850fdcb5051c9e8adcbecfb227940ff
parent62147d79903131f30511400c9d3e5d2896019b75
irqchip/qcom-pdc: Add irqchip set/get state calls

Add irqchip calls to set/get interrupt state from the parent interrupt
controller. When GPIOs are renabled as interrupt lines, it is desirable
to clear the interrupt state at the GIC. This avoids any unwanted
interrupt as a result of stale pending state recorded when the line was
used as a GPIO.

Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
[Lina: updated commit text, rearranged code]
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1573855915-9841-8-git-send-email-ilina@codeaurora.org
drivers/irqchip/qcom-pdc.c