Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0a099de9 authored by Maulik Shah's avatar Maulik Shah
Browse files

pinctrl: qcom: Use irq_create_mapping for direct connected GPIOs



On MSM platforms certain GPIOs pins are directly connected to SPI of
GIC parent controller which was using static mapping already present to
get virtual irq number and map it to SPI of GIC.

However with Commit '813aa7765fb4a ("gpiolib: allow gpio irqchip to map
irqs dynamically")' virtual irq number will no more present if the client
drivers have not started using gpio interrupts.

Use irq_create_mapping instead of irq_find_mapping to create mapping for
direct connected GPIOs.

Change-Id: I7bb7616778cb6a071f90d9061f127c88e116e9fd
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 01e90b62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment