diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-26 17:30:02 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-30 15:26:02 +0200 |
commit | 656acd2bbc4ce7f224de499ee255698701396c48 (patch) | |
tree | 8a6b0077d0bec8fec96ae3dfe28389c2909e6051 /drivers/i2c/busses/i2c-omap.c | |
parent | Input: add KEY_MEDIA_REPEAT definition (diff) | |
download | linux-656acd2bbc4ce7f224de499ee255698701396c48.tar.xz 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 'drivers/i2c/busses/i2c-omap.c')
0 files changed, 0 insertions, 0 deletions