Skip to content
Snippets Groups Projects
Commit 5a3d8a9d authored by Andrew Chant's avatar Andrew Chant Committed by Patrick Tjin
Browse files

input: synaptics: 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.

Change-Id: Ie33add946fbcca8309998e4cb7cb01525c667c7e
Signed-off-by: default avatarAndrew Chant <achant@google.com>
Bug: 31252388
parent 6b9c8643
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment