Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input fix from Dmitry Torokhov:
"A fix for st1232 driver to properly report coordinates for 2nd and
subsequent fingers when more than one is on the surface"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: st1232 - fix reporting multitouch coordinates

+4 -2
+4 -2
drivers/input/touchscreen/st1232.c
··· 81 81 for (i = 0, y = 0; i < ts->chip_info->max_fingers; i++, y += 3) { 82 82 finger[i].is_valid = buf[i + y] >> 7; 83 83 if (finger[i].is_valid) { 84 - finger[i].x = ((buf[i + y] & 0x0070) << 4) | buf[i + 1]; 85 - finger[i].y = ((buf[i + y] & 0x0007) << 8) | buf[i + 2]; 84 + finger[i].x = ((buf[i + y] & 0x0070) << 4) | 85 + buf[i + y + 1]; 86 + finger[i].y = ((buf[i + y] & 0x0007) << 8) | 87 + buf[i + y + 2]; 86 88 87 89 /* st1232 includes a z-axis / touch strength */ 88 90 if (ts->chip_info->have_z)