diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-26 15:30:02 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-30 13:26:02 (GMT) |
commit | 656acd2bbc4ce7f224de499ee255698701396c48 (patch) | |
tree | 8a6b0077d0bec8fec96ae3dfe28389c2909e6051 /include/linux/swap.h | |
parent | 4bbff7e408a54cce88d26191191e8bcda2a60d55 (diff) | |
download | linux-fsl-qoriq-656acd2bbc4ce7f224de499ee255698701396c48.tar.xz |
Input: fix locking in force-feedback core
The newly added event_lock spinlock in the input core disallows sleeping
and therefore using mutexes in event handlers. Convert force-feedback
core to rely on event_lock instead of mutex to protect slots allocated
for fore-feedback effects. The original mutex is still used to serialize
uploading and erasing of effects.
Reported-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/swap.h')
0 files changed, 0 insertions, 0 deletions