aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r--drivers/input/mouse/synaptics.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index e06e045bf907..477d1eaea8b5 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -701,6 +701,9 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv)
701 priv->x_max ?: XMAX_NOMINAL, 0, 0); 701 priv->x_max ?: XMAX_NOMINAL, 0, 0);
702 input_set_abs_params(dev, ABS_MT_POSITION_Y, YMIN_NOMINAL, 702 input_set_abs_params(dev, ABS_MT_POSITION_Y, YMIN_NOMINAL,
703 priv->y_max ?: YMAX_NOMINAL, 0, 0); 703 priv->y_max ?: YMAX_NOMINAL, 0, 0);
704
705 input_abs_set_res(dev, ABS_MT_POSITION_X, priv->x_res);
706 input_abs_set_res(dev, ABS_MT_POSITION_Y, priv->y_res);
704 } 707 }
705 708
706 if (SYN_CAP_PALMDETECT(priv->capabilities)) 709 if (SYN_CAP_PALMDETECT(priv->capabilities))