diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-07-07 03:47:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 10:34:21 +0300 |
commit | e42dc0dab2b7198b126cc0b457fc162f22f93c76 (patch) | |
tree | 5ba77ee2845c6955bb0288c68299d09a4957e224 /drivers | |
parent | b2b51526f4ec6e9224278bdab5b5cf6023ff2933 (diff) | |
download | linux-e42dc0dab2b7198b126cc0b457fc162f22f93c76.tar.xz |
Revert "Input: elants_i2c - report resolution information for touch major"
commit 93b9de223c0135db495c25334e66cb669bef13e2 upstream.
This reverts commit 061706716384f1633d3d5090b22a99f33f1fcf2f - it turns
out that the resolution of 1 unit per mm was not correct for a number of
touch screens, causing touch sizes to be reported as way too large.
See https://crbug.com/1085648
Reported-by: Harry Cutts <hcutts@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/touchscreen/elants_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index 2289f9638116..5b14a4a87c40 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -1318,7 +1318,6 @@ static int elants_i2c_probe(struct i2c_client *client, 0, MT_TOOL_PALM, 0, 0); input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res); input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res); - input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, 1); error = input_register_device(ts->input); if (error) { |