Skip to content

Commit e42dc0d

Browse files
dtorgregkh
authored andcommitted
Revert "Input: elants_i2c - report resolution information for touch major"
commit 93b9de2 upstream. This reverts commit 0617067 - 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>
1 parent b2b5152 commit e42dc0d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/input/touchscreen/elants_i2c.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,6 @@ static int elants_i2c_probe(struct i2c_client *client,
13181318
0, MT_TOOL_PALM, 0, 0);
13191319
input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res);
13201320
input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res);
1321-
input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, 1);
13221321

13231322
error = input_register_device(ts->input);
13241323
if (error) {

0 commit comments

Comments
 (0)