mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 16:14:13 +08:00
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>
This commit is contained in:
parent
c4cf2d8df1
commit
f109b43ad9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user