diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-06-08 07:37:47 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-06-08 08:20:46 +0200 |
commit | d49cb7aeebb974713f9f7ab2991352d3050b095b (patch) | |
tree | f9f8b73c046bd5ac83d57a6f3f23ba42dc519f41 /drivers/input/touchscreen/pixcir_i2c_ts.c | |
parent | Input: synaptics - change min/max quirk table to pnp-id matching (diff) | |
download | linux-d49cb7aeebb974713f9f7ab2991352d3050b095b.tar.xz linux-d49cb7aeebb974713f9f7ab2991352d3050b095b.zip |
Input: synaptics - fix resolution for manually provided min/max
commit 421e08c41fda fixed the reported min/max for the X and Y axis,
but unfortunately, it broke the resolution of those same axis.
On the t540p, the resolution is the same regarding X and Y. It is not
a problem for xf86-input-synaptics because this driver is only interested
in the ratio between X and Y.
Unfortunately, xf86-input-cmt uses directly the resolution, and having a
null resolution leads to some divide by 0 errors, which are translated by
-infinity in the resulting coordinates.
Reported-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/pixcir_i2c_ts.c')
0 files changed, 0 insertions, 0 deletions