Skip to content
Commit be896bd3 authored by Phoenix Huang's avatar Phoenix Huang Committed by Dmitry Torokhov
Browse files

Input: elantench - fix misreporting trackpoint coordinates



Some firmwares occasionally report bogus data from trackpoint, with X or Y
displacement being too large (outside of [-127, 127] range). Let's drop such
packets so that we do not generate jumps.

Signed-off-by: default avatarPhoenix Huang <phoenix@emc.com.tw>
Tested-by: default avatarYufei Du <yufeidu@cs.unc.edu>
Link: https://lore.kernel.org/r/20210729010940.5752-1-phoenix@emc.com.tw


Cc: stable@vger.kernel.org
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 6e486041
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment