]> git.ipfire.org Git - thirdparty/linux.git/commit
Input: cyttsp5 - fix sensing configuration data structure
authorhrdl <git@hrdl.eu>
Fri, 14 Apr 2023 06:41:13 +0000 (23:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Apr 2023 06:44:12 +0000 (23:44 -0700)
commit5dc63e56a9cf8df0b59c234a505a1653f1bdf885
tree08b16aeb389115cad99964f0016a88ffb6945f92
parentb3d80fd27a3c2d8715a40cbf876139b56195f162
Input: cyttsp5 - fix sensing configuration data structure

Prior to this patch, the sensing configuration data was not parsed
correctly, breaking detection of max_tch. The vendor driver includes
this field. This change informs the driver about the correct maximum
number of simultaneous touch inputs.

Tested on a Pine64 PineNote with a modified touch screen controller
firmware.

Signed-off-by: hrdl <git@hrdl.eu>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20230411211651.3791304-1-git@hrdl.eu
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp5.c