From: Dmitry Torokhov Date: Sat, 7 Nov 2009 05:39:07 +0000 (-0800) Subject: Input: fix locking in memoryless force-feedback devices X-Git-Tag: v2.6.32-rc8~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3204cbff7d2606e758afb0994e8da6ae1c6c26;p=pandora-kernel.git Input: fix locking in memoryless force-feedback devices Now that input core acquires dev->event_lock spinlock and disables interrupts when propagating input events, using spin_lock_bh() in ff-memless driver is not allowed. Actually, the timer_lock itself is not needed anymore, we should simply use dev->event_lock as well. Also do a small cleanup in force-feedback core. Reported-by: kerneloops.org Reported-by: http://www.kerneloops.org/searchweek.php?search=ml_ff_set_gain Reported-by: Arjan van de Ven Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed