diff options
-rw-r--r-- | drivers/input/mouse/synaptics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index ec772d962f06..f0142f215475 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -1370,11 +1370,11 @@ static void set_input_params(struct psmouse *psmouse, | |||
1370 | __set_bit(BTN_TOOL_QUADTAP, dev->keybit); | 1370 | __set_bit(BTN_TOOL_QUADTAP, dev->keybit); |
1371 | __set_bit(BTN_TOOL_QUINTTAP, dev->keybit); | 1371 | __set_bit(BTN_TOOL_QUINTTAP, dev->keybit); |
1372 | } else if (SYN_CAP_ADV_GESTURE(priv->ext_cap_0c)) { | 1372 | } else if (SYN_CAP_ADV_GESTURE(priv->ext_cap_0c)) { |
1373 | /* Non-image sensors with AGM use semi-mt */ | ||
1374 | __set_bit(INPUT_PROP_SEMI_MT, dev->propbit); | ||
1375 | input_mt_init_slots(dev, 2, 0); | ||
1376 | set_abs_position_params(dev, priv, ABS_MT_POSITION_X, | 1373 | set_abs_position_params(dev, priv, ABS_MT_POSITION_X, |
1377 | ABS_MT_POSITION_Y); | 1374 | ABS_MT_POSITION_Y); |
1375 | /* Non-image sensors with AGM use semi-mt */ | ||
1376 | input_mt_init_slots(dev, 2, | ||
1377 | INPUT_MT_POINTER | INPUT_MT_SEMI_MT); | ||
1378 | } | 1378 | } |
1379 | 1379 | ||
1380 | if (SYN_CAP_PALMDETECT(priv->capabilities)) | 1380 | if (SYN_CAP_PALMDETECT(priv->capabilities)) |