projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cf2d8
)
HID: elan: Stop claiming we have TOUCH_MAJOR and then never reporting it
author
Hans de Goede
<hdegoede@redhat.com>
Wed, 11 Jul 2018 10:38:30 +0000
(12:38 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 17 Jul 2018 13:25:39 +0000
(15:25 +0200)
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>
drivers/hid/hid-elan.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-elan.c
b/drivers/hid/hid-elan.c
index
966fe36
..
907b724
100644
(file)
--- 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);