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

Skip to content
Commit 8ee105ec 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: Ie721a25f38a720af05d2335067aa4ce6870b6055
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 02645d3a
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