]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: fix defuzzing logic
authorDmitry Torokhov <dtor@chromium.org>
Sat, 19 Jul 2014 23:30:31 +0000 (16:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 20 Jul 2014 20:17:42 +0000 (13:17 -0700)
commit50c5d36dab930b1f1b1e3348b8608aa8b9ee7610
treeadbc15400bc011ffc9ed4a716096bc3c02f73cf6
parent67f4aef20055afec73e37e7752bc6cc74fa01dea
Input: fix defuzzing logic

We attempt to remove noise from coordinates reported by devices in
input_handle_abs_event(), unfortunately, unless we were dropping the
event altogether, we were ignoring the adjusted value and were passing
on the original value instead.

Cc: stable@vger.kernel.org
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c