linux-stable/drivers/input/misc
Aristeu Sergio Rozanski Filho 05cebd3816 Input: uinput - flush all pending ff effects before destroying device
The destruction of a input device in uinput is triggered by an ioctl().
If a process tries to destroy an input device while other is uploading a
force feedback effect by evdev to the same device, they'll deadlock.
This patch fixes the problem by flushing all pending FF uploads before
destroying the device and preventing new uploads during this operation.

[dtor@mail.ru: fix logic that ensures we don't submit new requests
 to the device that is being destroyed.]
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-05-15 19:23:44 -07:00
..
apanel.c Input: apanel - convert to new i2c binding 2009-01-07 14:29:17 +01:00
ati_remote.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
ati_remote2.c Input: ati_remote2 - check module params 2009-01-29 23:43:42 -08:00
atlas_btns.c Input: atlas_btns - add support for loadable keymaps 2008-01-21 01:11:06 -05:00
cm109.c Input: cm109 - add keymap for ATCom AU-100 phone 2008-11-11 14:02:13 -05:00
cobalt_btns.c Input: cobalt_btns - add missing MODULE_LICENSE 2008-08-18 11:00:37 -04:00
dm355evm_keys.c Input: add dm355evm_keys driver 2009-04-23 19:29:54 -07:00
hp_sdc_rtc.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ixp4xx-beeper.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig Input: add dm355evm_keys driver 2009-04-23 19:29:54 -07:00
keyspan_remote.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
m68kspkr.c
Makefile Input: add dm355evm_keys driver 2009-04-23 19:29:54 -07:00
pcf50633-input.c input: PCF50633 input driver 2009-01-11 01:34:25 +01:00
pcspkr.c Input: pcspkr - fix PIT lockup on some chipsets 2008-11-19 16:54:59 -05:00
powermate.c Input: replace remaining __FUNCTION__ occurrences 2008-05-16 14:45:58 -04:00
rb532_button.c Input: add driver for S1 button of rb532 2009-03-09 20:10:12 -07:00
rotary_encoder.c Input: rotary_encoder - add support for REL_* axes 2009-04-17 20:37:21 -07:00
sgi_btns.c INPUT: sgi_btns: Add license specification 2008-10-27 16:18:28 +00:00
sparcspkr.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
twl4030-pwrbutton.c Input: add twl4030-pwrbutton driver 2009-04-19 23:08:41 -07:00
uinput.c Input: uinput - flush all pending ff effects before destroying device 2009-05-15 19:23:44 -07:00
wistron_btns.c Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505 2008-08-08 12:19:14 -04:00
yealink.c USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
yealink.h