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

Skip to content
Commit 25c37a08 authored by Amy Maloche's avatar Amy Maloche Committed by Stephen Boyd
Browse files

input: atmel_mxt_ts: Secure touch fixes for multicore and i2c bus clock



When starting the secure touch during a swipe operation
the interrupt handler is often executed on a different core than
the one requesting the secure touch. This can cause an xPU
violation when the i2c bus is acquired by TrustZone.
We now make sure the interrupt handler is done, on any core, before
acknoledging the request to enable the secure touch mode.
Additional fix for a typo releasing the clock used by the i2c
bus when the session is over.

Change-Id: I87dba21c7011fc56cf7574afb372c621dc748f80
Acked-by: default avatarChristian Bolis <cbolis@qti.qualcomm.com>
Signed-off-by: default avatarAmy Maloche <amaloche@codeaurora.org>
parent 5adcec7f
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