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)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 2 Oct 2018 09:37:38 +0000 (10:37 +0100)
commit7bae48b22c8d38c5cd50f52b6e15d134e2bb3935
tree9117fe7f8de920a1d4a9de369eb9b86a4a3882dc
parent5e2c9f9a627772672accd80fa15359c0de6aa894
irqchip/pdc: Setup all edge interrupts as rising edge at GIC

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>
drivers/irqchip/qcom-pdc.c