HID: wacom: Initialize MT slots for generic devices at post_parse_hid
authorJason Gerecke <killertofu@gmail.com>
Fri, 5 Dec 2014 21:37:32 +0000 (13:37 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Dec 2014 09:50:48 +0000 (10:50 +0100)
If a HID descriptor places HID_DG_CONTACTID before HID_DG_X and HID_DG_Y then
the ABS_X and ABS_Y will not be automatically initialized by the call to
input_mt_init_slots. To ensure that this is not a problem, we relocate that
call to occur after HID parsing has been completed and we've initalized all the
multitouch axes.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c

Simple merge
Simple merge