linux-stable-rt/drivers/input/misc
Ian Campbell b6cbf3ef4f Input: return correct value when setting up absolute device via uinipt.
uinput_alloc_device() is supposed to return the number of bytes read,
the value is returned to uinput_write() and from there to userspace. If
EV_ABS is set then it returns the value from uinput_validate_absbits()
instead, which is zero when everything is ok instead of the count.

Signed-off-by: Ian Campbell <icampbell@arcom.com>
Acked-by: Aristeu Rozanski <aris@cathedrallabs.org>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-06-01 02:39:25 -05:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp_sdc_rtc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68kspkr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcspkr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sparcspkr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uinput.c Input: return correct value when setting up absolute device via uinipt. 2005-06-01 02:39:25 -05:00