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
Input: gameport - make gameport_register_driver() return errors
2008-07-30 00:41:15 -04:00
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
Input: apm-power - fix crash when unloading modules
2008-03-24 11:02:06 -04:00
evbug.c
Input: evbug - identify device by its sysfs ID
2008-06-30 09:36:17 -04:00
evdev.c
saner FASYNC handling on file close
2008-11-01 09:49:46 -07:00
ff-core.c
drivers/input/ff-core.c needs <linux/sched.h>
2008-07-02 18:40:08 -07:00
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: remove private member from input_dev structure
2008-04-02 00:41:00 -04:00
input.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next
2008-07-21 00:55:14 -04:00
joydev.c
saner FASYNC handling on file close
2008-11-01 09:49:46 -07:00
Kconfig
xen pvfb: Para-virtual framebuffer, keyboard and pointer driver
2008-04-24 23:57:33 +02:00
Makefile
xen pvfb: Para-virtual framebuffer, keyboard and pointer driver
2008-04-24 23:57:33 +02:00
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