diff options
author | Dmitry Osipenko <[email protected]> | 2021-03-26 15:19:27 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2021-03-27 21:41:09 -0700 |
commit | 781bab3238c21c8cc6d1999a6ee43de76252fdfd (patch) | |
tree | 5fc6edd804a8747875170c6ba1b0142ecbbfecec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 69d5ff3e9e51e23d5d81bf48480aa5671be67a71 (diff) |
Input: elants_i2c - fix division by zero if firmware reports zero phys size
Touchscreen firmware of ASUS Transformer TF700T reports zeros for the phys
size. Hence check whether the size is zero and don't set the resolution in
this case.
Reported-by: Jasper Korten <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions