]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - set the ABS_MT_TOOL_TYPE bit to report tool type
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 9 Nov 2016 01:03:16 +0000 (17:03 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 9 Nov 2016 01:12:09 +0000 (17:12 -0800)
commitd97d6300ff68249738aa2f3b1bb580b937144ac8
tree92687c224113c81c7808ea3e3b408494414827c3
parent93883eae9413758240be1f4f4b8ed3cd5d708223
Input: synaptics-rmi4 - set the ABS_MT_TOOL_TYPE bit to report tool type

The rmi4 2D sensor functions report the tool type via
input_mt_report_slot_state(), but the abs parameter bit has not been
set so the tool type is not reported to userspace. This patch set
the ABS_MT_TOOL_TYPE bit.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_2d_sensor.c