Commit 5dc63e56 authored by hrdl's avatar hrdl Committed by Dmitry Torokhov

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: default avatarhrdl <git@hrdl.eu>
Reviewed-by: default avatarAlistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20230411211651.3791304-1-git@hrdl.euSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent b3d80fd2
...@@ -111,6 +111,7 @@ struct cyttsp5_sensing_conf_data_dev { ...@@ -111,6 +111,7 @@ struct cyttsp5_sensing_conf_data_dev {
__le16 max_z; __le16 max_z;
u8 origin_x; u8 origin_x;
u8 origin_y; u8 origin_y;
u8 panel_id;
u8 btn; u8 btn;
u8 scan_mode; u8 scan_mode;
u8 max_num_of_tch_per_refresh_cycle; u8 max_num_of_tch_per_refresh_cycle;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment