From: Hans de Goede Date: Sat, 26 Jul 2014 05:41:51 +0000 (-0700) Subject: Input: alps - process_bitmap: fix counting of high point bits X-Git-Tag: omap-for-v3.17/fixes-against-rc2~115^2~1^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=105affbfd588d5aec4171234051f7d589f7e62c1;p=pandora-kernel.git Input: alps - process_bitmap: fix counting of high point bits alps_process_bitmap was resetting the point bit-count as soon as it saw 2 0 bits in a row. This means that unless the high point actually is at the end of the bitmap, it would always get its num_bits set to 0. Instead reset num_bits to 0 on a 0->1 transition, so that with > 2 fingers we only count the number of bits occupied by the highest finger. Signed-off-by: Hans de Goede Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed