diff options
| author | Chun Zhang <chunz@codeaurora.org> | 2015-03-11 17:51:16 -0700 |
|---|---|---|
| committer | Jing Lin <jinglin@codeaurora.org> | 2015-04-13 13:52:24 -0700 |
| commit | 513f2f5db2ae19d7da100be850afc8a1be09cb67 (patch) | |
| tree | 92b0b76f032d4fdbf77d31fb156e69b2c213024a /scripts/gcc-wrapper.py | |
| parent | 1478cbbc639d59f789dc4f81e8f504200ce87557 (diff) | |
input: touchscreen: bu21150: ensure proper mode transition
This change ensures that the touch AFE (Analog Front End) transitions
to the right mode and touch/display functionality isn't interrupted
in a special use case.
When touch-to-wake is enabled and AFE is in gesture self capacitance
mode, if the user makes an invalid gesture, the AFE will transition
to gesture mutual capacitance mode. Since the gesture is invalid, it
will not end up waking up the device. After the specified timeout,
touch SW will instruct the AFE to go back to gesture self capacitance
mode. At the same time, if the user presses the power key to resume,
both AFE driver's resume function and touch SW in user space are
trying to update the same AFE register with different values. We need
to make sure that the update by the resume function prevails. This
directly impacts whether display and touch will work properly upon
resume.
Change-Id: Ia3a857efe4d6ea82442dc4fe2a73f6e6ea97d84d
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
