diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2011-06-21 15:01:53 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-06-24 13:39:51 +0200 |
commit | 50bc03ab5c7529fdfe4e01621efca7d26439ea00 (patch) | |
tree | 854f8e300c7f157e56725410e0648f56439fb7c7 /drivers/pcmcia | |
parent | 56299378726d5f2ba8d3c8cbbd13cb280ba45e4f (diff) |
HID: hid-multitouch: ensure slots are initialized
In case a device does not provide the feature "Maximum Contact Count",
or set it at 0, the maxcontacts field may be at 0 while calling
input_mt_init_slots.
This patch ensures that hid-multitouch will allways report
ABS_MT_SLOT and ABS_MT_TRACKING_ID to the user space.
This corrects a bug found with some Ilitek devices that has been
integrated in 3.0-rc0.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions