irqchip/pdc: Setup all edge interrupts as rising edge at GIC
authorLina Iyer <ilina@codeaurora.org>
Thu, 27 Sep 2018 17:18:10 +0000 (11:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:08:34 +0000 (11:08 -0800)
commit106d970ba5c84b6c61a706f9b13ff0d336500d31
tree45746f4d37a7ae86c29a6c0774dcfed3103ab7c4
parent5fac1c6ccc3ce3c8b13312f0e412548e41eb8af6
irqchip/pdc: Setup all edge interrupts as rising edge at GIC

[ Upstream commit 7bae48b22c8d38c5cd50f52b6e15d134e2bb3935 ]

The PDC irqchp can convert a falling edge or level low interrupt to a
rising edge or level high interrupt at the GIC. We just need to setup
the GIC correctly. Set up the interrupt type for the IRQ_TYPE_EDGE_BOTH
as IRQ_TYPE_EDGE_RISING at the GIC.

Fixes: f55c73aef890 ("irqchip/pdc: Add PDC interrupt controller for QCOM SoCs")
Reported-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/qcom-pdc.c