aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-10 13:11:07 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-10 13:11:07 -0400
commitdbf3c370862d73fcd2c74ca55e254bb02143238d (patch)
tree072f53a350d9fc1482c77f8cf1bcf2b9988ed477 /drivers/input/mouse
parent539c4b88146cc320aee18b08ebb43ab57d523dcc (diff)
Revert "Input: synaptics - allocate 3 slots to keep stability in image sensors"
This reverts commit 63c4fda3c0bb841b1aad1298fc7fe94058fc79f8 as it causes issues with detecting 3-finger taps. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=100481 Cc: stable@vger.kernel.org Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r--drivers/input/mouse/synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 35c8d0ceabee..3a32caf06bf1 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1199,7 +1199,7 @@ static void set_input_params(struct psmouse *psmouse,
1199 ABS_MT_POSITION_Y); 1199 ABS_MT_POSITION_Y);
1200 /* Image sensors can report per-contact pressure */ 1200 /* Image sensors can report per-contact pressure */
1201 input_set_abs_params(dev, ABS_MT_PRESSURE, 0, 255, 0, 0); 1201 input_set_abs_params(dev, ABS_MT_PRESSURE, 0, 255, 0, 0);
1202 input_mt_init_slots(dev, 3, INPUT_MT_POINTER | INPUT_MT_TRACK); 1202 input_mt_init_slots(dev, 2, INPUT_MT_POINTER | INPUT_MT_TRACK);
1203 1203
1204 /* Image sensors can signal 4 and 5 finger clicks */ 1204 /* Image sensors can signal 4 and 5 finger clicks */
1205 __set_bit(BTN_TOOL_QUADTAP, dev->keybit); 1205 __set_bit(BTN_TOOL_QUADTAP, dev->keybit);