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

Skip to content
Unverified Commit 8181b231 authored by Chris Lew's avatar Chris Lew Committed by Michael Bestas
Browse files

soc: qcom: smp2p: Remove IRQF_NO_SUSPEND



IRQF_NO_SUSPEND and enable_irq_wake should not be used simultaneously.
The specific behavior of each work at odds of one another and when used
together, prevents correct wakeup logging for the interrupt.

SMP2P needs the ability to wake the processor from suspend. Thus the
enable_irq_wake function should be used to mark the interrupt as wake
capable.

Using the IRQF_NO_SUSPEND flag allows the SMP2P interrupt to run with
less latency while the system is entering suspend but is not a correct
configuration according to power documentation. Instead, enable_irq_wake
should mark this interrupt as wake capable and abort suspend if an
interrupt comes while entering suspend.

Change-Id: I4cb7dee8e6e420d34c81bfdd63291fbd662d8872
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 09375373
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