diff options
| author | Andrew Chant <achant@google.com> | 2016-09-15 16:19:50 -0700 |
|---|---|---|
| committer | Himanshu Aggarwal <haggarwa@codeaurora.org> | 2016-12-01 10:28:16 +0530 |
| commit | ae39f47e9b8f736b56617cdfe3ed8697c61f7554 (patch) | |
| tree | bd097c5c99cd2fc9d6dcb1261143313d7db18362 /lib/mpi/mpicoder.c | |
| parent | 0380dc86d2a75a4ae7d4246a94a5d767b0b75de4 (diff) | |
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).
Signed-off-by: Andrew Chant <achant@google.com>
Change-Id:I5bbe4992f3fd2d23db288296eaeb61f5831098e9
Bug: 30799828
Bug: 31252388
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit: 287ce2ccfefe68067c1f9f5175b6664bf7397fe6
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
