linux-stable/drivers/input
Arjan van de Ven 8442c87d2f 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: Dmitry Torokhov <dtor@mail.ru>
2008-11-24 11:36:38 -05:00
..
gameport Input: gameport - make gameport_register_driver() return errors 2008-07-30 00:41:15 -04:00
joystick Merge branch 'next' into for-linus 2008-10-15 23:29:12 -04:00
keyboard Input: atkbd - cancel delayed work before freeing its structure 2008-11-11 11:31:59 -05:00
misc Input: cm109 - add keymap for ATCom AU-100 phone 2008-11-11 14:02:13 -05:00
mouse Input: psmouse - fix incorrect validate_byte check in OLPC protocol 2008-11-11 11:32:07 -05:00
serio Input: i8042 - add Compal Hel80 laptop to nomux blacklist 2008-11-19 16:52:55 -05:00
tablet Merge branch 'next' into for-linus 2008-10-15 23:29:12 -04:00
touchscreen Input: elo - fix format string in elo driver 2008-10-30 09:30:08 -04: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 Input: evdev - fix printf() format for sizeof 2008-08-19 11:35:27 -04: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-24 11:36:38 -05:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
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 Input: make sure input interfaces pin parent input devices 2008-04-01 00:22:53 -04: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 mousedev: BKL pushdown 2008-07-02 15:06:23 -06:00
xen-kbdfront.c xen pvfb: Dynamic mode support (screen resizing) 2008-05-27 10:11:36 +02:00