commit | 656acd2bbc4ce7f224de499ee255698701396c48 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Jun 26 11:30:02 2008 -0400 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jun 30 09:26:02 2008 -0400 |
tree | 8a6b0077d0bec8fec96ae3dfe28389c2909e6051 | |
parent | 4bbff7e408a54cce88d26191191e8bcda2a60d55 [diff] |
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>