From: Dmitry Torokhov Date: Thu, 26 Jun 2008 15:30:02 +0000 (-0400) Subject: Input: fix locking in force-feedback core X-Git-Tag: v2.6.26-rc9~87^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656acd2bbc4ce7f224de499ee255698701396c48;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed