From: Benjamin Tissoires Date: Sun, 8 Jun 2014 05:37:47 +0000 (-0700) Subject: Input: synaptics - fix resolution for manually provided min/max X-Git-Tag: omap-for-v3.16/fixes-against-rc1~76^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d49cb7aeebb974713f9f7ab2991352d3050b095b;p=pandora-kernel.git 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 Signed-off-by: Benjamin Tissoires Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed