From: Hans de Goede Date: Sat, 26 Jul 2014 05:46:53 +0000 (-0700) Subject: Input: alps - use single touch data when v3 mt data contains only one finger X-Git-Tag: omap-for-v3.17/fixes-against-rc2~115^2~1^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38a448a237534aecc40bd826c55132c479f4c42;p=pandora-kernel.git Input: alps - use single touch data when v3 mt data contains only one finger For v3 protocol devices, use the more accurate single touch data when the mt data contains only one finger. Note the mt data reporting a finger count of 1 should never happen, but better safe then sorry. This brings the v3 bitmap handling in line with what the v4 code does, allowing to factor out the common bits into a helper function. Signed-off-by: Hans de Goede Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed