diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-06-08 09:37:47 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-06-08 10:20:46 +0400 |
commit | d49cb7aeebb974713f9f7ab2991352d3050b095b (patch) | |
tree | f9f8b73c046bd5ac83d57a6f3f23ba42dc519f41 /drivers/net/team/team.c | |
parent | 0f68f39c393bc06ac5ccc8794f0e2ed841e41c3e (diff) | |
download | linux-d49cb7aeebb974713f9f7ab2991352d3050b095b.tar.xz |
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/net/team/team.c')
0 files changed, 0 insertions, 0 deletions