]> git.karo-electronics.de Git - karo-tx-linux.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)
commit332c3988fe9cbecf9d50f19596b66a34b5eda6de
tree92687c224113c81c7808ea3e3b408494414827c3
parent24f63b1cb05034de74289a684e0938388757085d
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