diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-26 11:30:02 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-30 09:26:02 -0400 |
commit | 656acd2bbc4ce7f224de499ee255698701396c48 (patch) | |
tree | 8a6b0077d0bec8fec96ae3dfe28389c2909e6051 /include | |
parent | 4bbff7e408a54cce88d26191191e8bcda2a60d55 (diff) | |
download | blackbird-op-linux-656acd2bbc4ce7f224de499ee255698701396c48.tar.gz blackbird-op-linux-656acd2bbc4ce7f224de499ee255698701396c48.zip |
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')
0 files changed, 0 insertions, 0 deletions