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

Skip to content
Commit ab1b32bb authored by Mohan Pallaka's avatar Mohan Pallaka Committed by Stephen Boyd
Browse files

platform: qpnp-power-on: Simulate press event



Status of the keys connected to the KPDPWR and RESIN lines
are identified by reading corresponding bits in RT status
register. If the state has been changed by the time interrupt
is delivered then the press event will be missed.

Maintain a state variable to find unbalanced release events
and simulate a press event.

Change-Id: I809c8166796e2436dbd203e4aa0c304d3d612226
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent 8a1559a5
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