summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-07-11 12:38:30 +0200
committerJiri Kosina <jkosina@suse.cz>2018-07-17 15:25:39 +0200
commitf109b43ad9af6b5a003b6619cb2242fde19009ce (patch)
tree69dbf113347ddd74c26862573eabefd46bb45f03
parentc4cf2d8df1dd9061cdc873e0ddb41deafa228b9d (diff)
HID: elan: Stop claiming we have TOUCH_MAJOR and then never reporting it
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>
-rw-r--r--drivers/hid/hid-elan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c
index 966fe36fab41..907b724b9435 100644
--- a/drivers/hid/hid-elan.c
+++ b/drivers/hid/hid-elan.c
@@ -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);