From: Ian Campbell Date: Wed, 1 Jun 2005 07:39:25 +0000 (-0500) Subject: Input: return correct value when setting up absolute device via uinipt. X-Git-Tag: v2.6.13-rc1~51^2~43^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6cbf3ef4f270c0dfe84b26649e4fc0c25bb0844;p=pandora-kernel.git 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 Acked-by: Aristeu Rozanski Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed