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

Skip to content
Commit 665e8f29 authored by Andrew Chant's avatar Andrew Chant Committed by Gerrit - the friendly Code Review server
Browse files

Input: synaptics: check input, prevent sysfs races



concurrent sysfs calls on the fw updater can cause
ugly race conditions.  Return EBUSY on concurrent sysfs calls.

For sysfs calls which generate deferred work, prevent
the deferred work from running concurrently with other
sysfs calls.

Also check that ext_data_source is appropriately sized
and allocated, based on a patch by
Gengjia Chen (chengjia4574@gmail.com).

Change-Id:I5bbe4992f3fd2d23db288296eaeb61f5831098e9
Signed-off-by: default avatarAndrew Chant <achant@google.com>
Bug: 30799828
Bug: 31252388
Git-commit: 287ce2ccfefe68067c1f9f5175b6664bf7397fe6
Git-repo: https://android.googlesource.com/kernel/msm.git


[vevekv@codeaurora.org: resolve merge conflicts]
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent 947bdfee
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