aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/synaptics.c')
-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 c3d1c86ac591..2f78538e09d0 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1271,11 +1271,11 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv)
1271 input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0); 1271 input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0);
1272 1272
1273 if (SYN_CAP_IMAGE_SENSOR(priv->ext_cap_0c)) { 1273 if (SYN_CAP_IMAGE_SENSOR(priv->ext_cap_0c)) {
1274 input_mt_init_slots(dev, 2, 0);
1275 set_abs_position_params(dev, priv, ABS_MT_POSITION_X, 1274 set_abs_position_params(dev, priv, ABS_MT_POSITION_X,
1276 ABS_MT_POSITION_Y); 1275 ABS_MT_POSITION_Y);
1277 /* Image sensors can report per-contact pressure */ 1276 /* Image sensors can report per-contact pressure */
1278 input_set_abs_params(dev, ABS_MT_PRESSURE, 0, 255, 0, 0); 1277 input_set_abs_params(dev, ABS_MT_PRESSURE, 0, 255, 0, 0);
1278 input_mt_init_slots(dev, 2, INPUT_MT_POINTER);
1279 1279
1280 /* Image sensors can signal 4 and 5 finger clicks */ 1280 /* Image sensors can signal 4 and 5 finger clicks */
1281 __set_bit(BTN_TOOL_QUADTAP, dev->keybit); 1281 __set_bit(BTN_TOOL_QUADTAP, dev->keybit);