kernel/Revert-Input-synaptics-use-dmax-in-input_mt_assign_s.patch
Josh Boyer 00acd3eec4 Revert synaptics patch
Benjamin says this hurts more than it helps
2015-03-11 09:19:42 -04:00

36 lines
1.2 KiB
Diff

From: Josh Boyer <jwboyer@fedoraproject.org>
Date: Wed, 11 Mar 2015 09:14:03 -0400
Subject: [PATCH] Revert "Input: synaptics - use dmax in input_mt_assign_slots"
This reverts commit 6ab17a8484f03c188a93713369912f1545eb26e9.
---
drivers/input/mouse/synaptics.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index c74bfa1c05e3..dda605836546 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -67,9 +67,6 @@
#define X_MAX_POSITIVE 8176
#define Y_MAX_POSITIVE 8176
-/* maximum ABS_MT_POSITION displacement (in mm) */
-#define DMAX 10
-
/*****************************************************************************
* Stuff we need even when we do not want native Synaptics support
****************************************************************************/
@@ -915,7 +912,7 @@ static void synaptics_report_mt_data(struct psmouse *psmouse,
pos[i].y = synaptics_invert_y(hw[i]->y);
}
- input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->x_res);
+ input_mt_assign_slots(dev, slot, pos, nsemi, 0);
for (i = 0; i < nsemi; i++) {
input_mt_slot(dev, slot[i]);
--
2.1.0