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

Skip to content
Commit ece488e5 authored by Prateek Sood's avatar Prateek Sood
Browse files

pinctrl: qcom: disable MPM_WAKEUP_INT_EN bits for gpio



BY default MPM_WAKEUP_INT_EN bits are set from firmware
for gpios which can have wakeup capability. This results
in wakeup capability set for a gpio which is not being used
as IRQ. Problem manifests as spurious interrupts coming to
GIC from PDC as MPM_WAKEUP_INT_EN registers bit corresponding
to gpio is set.

Fix this by disabling wakeup capability for gpio not being
used as IRQ. When client driver calls irq_set_irq_wake()
after requesting gpio as irq, enable wakeup capability.

Change-Id: Ie215f2fdd36483b133b17ec8162c7423a7d8db31
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent 9a721aa3
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