linux/drivers/input
Duncan Laurie 19e9554153 Input: serio - clear pending rescans after sysfs driver rebind
When rebinding a serio driver via sysfs drvctl interface it is
possible for an interrupt to trigger after the disconnect of the
existing driver and before the binding of the new driver.  This will
cause the serio interrupt handler to queue a rescan event which will
disconnect the new driver immediately after it is attached.

This change removes pending rescans from the serio event queue after
processing the drvctl request but before releasing the serio mutex.

Reproduction involves issuing a rebind of device port from psmouse
driver to serio_raw driver while generating input to trigger
interrupts.  Then checking to see if the corresponding
i8042/serio4/driver is correctly attached to the serio_raw driver
instead of psmouse.

Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-02-02 23:01:52 -08:00
..
gameport Input: gameport - convert to use common workqueue instead of a thread 2010-11-18 00:25:49 -08:00
joystick Merge branch 'next' into for-linus 2011-01-11 22:01:45 -08:00
keyboard Input: tegra-kbc - fix keymap entry for LeftMeta key 2011-01-28 22:31:57 -08:00
misc Input: rotary_encoder - use proper irqflags 2011-02-02 23:01:00 -08:00
mouse Input: synaptics - retry failed resets when reconnecting 2011-01-28 22:32:07 -08:00
serio Input: serio - clear pending rescans after sysfs driver rebind 2011-02-02 23:01:52 -08:00
tablet Input: wacom - pass touch resolution to clients through input_absinfo 2011-01-25 18:04:05 -08:00
touchscreen Input: wacom_w8001 - report resolution to userland 2011-01-31 21:32:24 -08:00
apm-power.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evbug.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evdev.c Merge branch 'next' into for-linus 2011-01-06 22:34:59 -08:00
ff-core.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
ff-memless.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
fixp-arith.h
input-compat.c
input-compat.h [IA64] Remove COMPAT_IA32 support 2010-02-08 10:42:17 -08:00
input-mt.c input: mt: Move tracking and pointer emulation to input-mt 2010-12-16 10:41:38 +01:00
input-polldev.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
input.c Merge branch 'next' into for-linus 2011-01-06 22:34:59 -08:00
joydev.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
Kconfig Merge branch 'xen/fbdev' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2009-12-10 09:34:40 -08:00
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rydberg/input-mt into next 2010-12-16 09:17:48 -08:00
mousedev.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
sparse-keymap.c Input: sparse-keymap - fix KEY_VSW handling in sparse_keymap_setup 2011-01-20 23:13:29 -08:00
xen-kbdfront.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00