Skip to content

Commit 5dc63e5

Browse files
hrdldtor
authored andcommitted
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>
1 parent b3d80fd commit 5dc63e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/touchscreen/cyttsp5.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ struct cyttsp5_sensing_conf_data_dev {
111111
__le16 max_z;
112112
u8 origin_x;
113113
u8 origin_y;
114+
u8 panel_id;
114115
u8 btn;
115116
u8 scan_mode;
116117
u8 max_num_of_tch_per_refresh_cycle;

0 commit comments

Comments
 (0)