From: Benjamin Tissoires Date: Thu, 23 Apr 2015 16:08:43 +0000 (-0700) Subject: Input: elantech - fix semi-mt protocol for v3 HW X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~68^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0213d17a09601e0c6c0ae0e27caf70d988290f;p=pandora-kernel.git Input: elantech - fix semi-mt protocol for v3 HW When the v3 hardware sees more than one finger, it uses the semi-mt protocol to report the touches. However, it currently works when num_fingers is 0, 1 or 2, but when it is 3 and above, it sends only 1 finger as if num_fingers was 1. This confuses userspace which knows how to deal with extra fingers when all the slots are used, but not when some are missing. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90101 Cc: stable@vger.kernel.org Signed-off-by: Benjamin Tissoires Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed