Skip to content

Commit

Permalink
HID: elan: Stop claiming we have TOUCH_MAJOR and then never reporting it
Browse files Browse the repository at this point in the history
We never report MT_TOUCH_MAJOR, so lets not claim that we do.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
jwrdegoede authored and Jiri Kosina committed Jul 17, 2018
1 parent c4cf2d8 commit f109b43
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/hid/hid-elan.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ static int elan_input_configured(struct hid_device *hdev, struct hid_input *hi)
drvdata->settings->max_x, 0, 0);
input_set_abs_params(input, ABS_MT_POSITION_Y, 0,
drvdata->settings->max_y, 0, 0);
input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0,
drvdata->settings->max_fingers, 0, 0);
input_set_abs_params(input, ABS_TOOL_WIDTH, 0,
drvdata->settings->max_w, 0, 0);

Expand Down

0 comments on commit f109b43

Please sign in to comment.