irqchip: qcom: pdc: Correct irq_data argument for irq_set_irqchip_state
GIC-v2 driver gets base address from irq_data in gic_poke_irq. Passing
current irq_data to irq_set_irqchip_state can result in NULL pointer
dereference.
This issue is not seen on GIC-v3 driver since base address is calculated
from global variable.
Correctly pass parent_data as argument to irq_set_irqchip_state and
irq_get_irqchip_state.
Change-Id: Ie63561e002b0e0c1cb2404a20fa3d7151cf0b48a
Signed-off-by:
Maulik Shah <mkshah@codeaurora.org>
Loading
Please register or sign in to comment