Input: st1232 - fix reporting multitouch coordinates
authorDixit Parmar <dixitparmar19@gmail.com>
Mon, 21 Oct 2019 16:32:47 +0000 (09:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Oct 2019 17:15:03 +0000 (10:15 -0700)
commitb1a402e75a5f5127ff1ffff0615249f98df8b7b3
treea42927ece3e08cb4cafb420a982ed535c1f7a9a0
parentc324345ce89c3cc50226372960619c7ee940f616
Input: st1232 - fix reporting multitouch coordinates

For Sitronix st1633 multi-touch controller driver the coordinates reported
for multiple fingers were wrong, as it was always taking LSB of coordinates
from the first contact data.

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Reviewed-by: Martin Kepplinger <martink@posteo.de>
Cc: stable@vger.kernel.org
Fixes: 351e0592bfea ("Input: st1232 - add support for st1633")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204561
Link: https://lore.kernel.org/r/1566209314-21767-1-git-send-email-dixitparmar19@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/st1232.c