Input: do not assign new tracking ID when changing tool type
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Aug 2017 23:00:42 +0000 (16:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Jun 2018 17:23:39 +0000 (10:23 -0700)
commitc258e84b180d38f76ab9962cf5bfc10720af1360
tree2ca727357b17b22807e85c0c8ccfc692f1a1ed84
parentbf6247a70f2b7569180304041b63b59ab14217bc
Input: do not assign new tracking ID when changing tool type

We allow changing tool type (from MT_TOOL_FINGER to MT_TOOL_PALM) so we
should not be forcing new tracking ID for the slot.

Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c