From: Benjamin Tissoires Date: Tue, 21 Jun 2011 13:01:53 +0000 (+0200) Subject: HID: hid-multitouch: ensure slots are initialized X-Git-Tag: v3.0-rc5~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50bc03ab5c7529fdfe4e01621efca7d26439ea00;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed