Input: fix defuzzing logic
authorDmitry Torokhov <[email protected]>
Sat, 19 Jul 2014 23:30:31 +0000 (16:30 -0700)
committerDmitry Torokhov <[email protected]>
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: [email protected]
Reviewed-by: Andrew de los Reyes <[email protected]>
Reviewed-by: Benson Leung <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
Reviewed-by: Henrik Rydberg <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/input.c