diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-03-26 23:19:27 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-03-28 06:41:09 +0200 |
commit | 781bab3238c21c8cc6d1999a6ee43de76252fdfd (patch) | |
tree | 5fc6edd804a8747875170c6ba1b0142ecbbfecec /drivers/crypto/marvell | |
parent | Input: nspire-keypad - enable interrupts only when opened (diff) | |
download | linux-781bab3238c21c8cc6d1999a6ee43de76252fdfd.tar.xz linux-781bab3238c21c8cc6d1999a6ee43de76252fdfd.zip |
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 <jja2000@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210302100824.3423-1-digetx@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/crypto/marvell')
0 files changed, 0 insertions, 0 deletions