Input: MT - initialize slots to unused
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 29 Aug 2010 04:33:50 +0000 (21:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 29 Aug 2010 04:39:43 +0000 (21:39 -0700)
commitba4d695a90c9176fca8e45d6c872bbf4e8bed315
tree48e9cefe52865fe5d1f24268081dc87139b3618f
parent2c4e9671edfef534e9726366707d64e63d44e7e6
Input: MT - initialize slots to unused

For MT slots, the ABS_MT_TRACKING_ID determines whether a slot is in use,
but currently leaves initialization up to the drivers. This patch sets the
slot state to unused upon creation.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c