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:
Prateek Sood <prsood@codeaurora.org>
Loading
Please register or sign in to comment