kernel_optimize_test/drivers/input
Igor Mammedov c36b58e8a9 Input: xen-kbdfront - fix mouse getting stuck after save/restore
Mouse gets "stuck" after restore of PV guest but buttons are in working
condition.

If driver has been configured for ABS coordinates at start it will get
XENKBD_TYPE_POS events and then suddenly after restore it'll start getting
XENKBD_TYPE_MOTION events, that will be dropped later and they won't get
into user-space.

Regression was introduced by hunk 5 and 6 of
5ea5254aa0ad269cfbd2875c973ef25ab5b5e9db
("Input: xen-kbdfront - advertise either absolute or relative
coordinates").

Driver on restore should ask xen for request-abs-pointer again if it is
available. So restore parts that did it before 5ea5254.

Acked-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
[v1: Expanded the commit description]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-04-18 10:17:45 -07:00
..
gameport Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
joystick
keyboard Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe() 2011-04-11 23:51:18 -07:00
misc Input: xen-kbdfront - fix mouse getting stuck after save/restore 2011-04-18 10:17:45 -07:00
mouse Input: synaptics - fix crash in synaptics_module_init() 2011-03-31 00:04:52 -07:00
serio Input: rpckbd - fix a leak of the IRQ during init failure 2011-04-02 21:47:53 -07:00
tablet Input: wacom - add support for Lenovo tablet ID (0xE6) 2011-03-31 22:41:24 -07:00
touchscreen Input: h3600_ts - fix error handling at connect 2011-04-06 15:34:32 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - indicate buffer overrun with SYN_DROPPED 2011-04-12 23:35:24 -07:00
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
input-compat.h
input-mt.c
input-polldev.c
input.c Input: estimate number of events per packet 2011-04-18 10:15:43 -07:00
joydev.c
Kconfig Input: xen-kbdfront - move to drivers/input/misc 2011-03-16 23:26:01 -07:00
Makefile Input: xen-kbdfront - move to drivers/input/misc 2011-03-16 23:26:01 -07:00
mousedev.c
sparse-keymap.c Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes 2011-03-28 23:34:52 -07:00