kernel-ark/drivers/input
Arjan van de Ven 211f05a034 input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback
ml_ff_playback() uses spin_(un)lock_bh. However this function is called
with interrupts disabled from erase_effect() in drivers/input/ff-core.c:196.

This is not permitted, and will result in a WARN_ON in the bottom half handling code.
This patch changes this function to just use spin_lock_irqsave() instead, solving
the problem and simplifying the locking logic.

This was reported as entry #106559 in kerneloops.org

Reported-by: kerneloops.org
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-30 10:36:51 -08:00
..
gameport
joystick USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
keyboard Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-10-16 11:52:08 -07:00
misc saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
mouse Input: psmouse - add support for Elantech touchpads 2008-10-16 22:54:35 -04:00
serio saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
tablet USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
touchscreen Merge branch 'for-rmk' of git://git.android.com/kernel into devel 2008-10-22 19:34:09 +01:00
apm-power.c
evbug.c
evdev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ff-core.c
ff-memless.c input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback 2008-11-30 10:36:51 -08:00
fixp-arith.h
input-polldev.c
input.c
joydev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
Kconfig
Makefile
mousedev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
xen-kbdfront.c get xenbus_driver ->probe() "recognized" by modpost 2008-11-30 10:03:38 -08:00