diff options
| author | Phoenix Huang <phoenix@emc.com.tw> | 2021-11-07 22:00:03 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:58:33 +0100 |
| commit | 0534204713bc6e0ed47f717d66ecd053cb9f2c0f (patch) | |
| tree | 2bfc76749505ecb74427836ca9144c23b35a9ceb /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 29f4189ec8e8c9074d63779009d5e73919193c50 (diff) | |
Input: elantench - fix misreporting trackpoint coordinates
commit be896bd3b72b44126c55768f14c22a8729b0992e upstream.
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: Phoenix Huang <phoenix@emc.com.tw>
Tested-by: Yufei 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
