Input: evdev - fix EVIOCSABS regression
authorDaniel Mack <zonque@gmail.com>
Mon, 18 Oct 2010 15:43:50 +0000 (08:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 15:45:08 +0000 (08:45 -0700)
commitf9ce6eb5b6fa8cbcf0a0fb7c5f4203f94730fc52
tree9bc3e516e458a7982e608c4dd0cb7cf3080dd6cc
parent0a74a1df3c13655b66b1908d76f2159654216326
Input: evdev - fix EVIOCSABS regression

448cd16 ("Input: evdev - rearrange ioctl handling") broke EVIOCSABS by
checking for the wrong direction bit.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Sven Neumann <s.neumann@raumfeld.com>
Tested-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/evdev.c