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

Configure Feed

Select the types of activity you want to include in your feed.

input/touchscreen: imagis: Correct the maximum touch area value

As specified in downstream IST3038B driver and proved by testing,
the correct maximum reported value of touch area is 16.

Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Link: https://lore.kernel.org/r/20240301164659.13240-2-karelb@gimli.ms.mff.cuni.cz
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Markuss Broks and committed by
Dmitry Torokhov
54a62ed1 849c34e6

+1 -1
+1 -1
drivers/input/touchscreen/imagis.c
··· 210 210 211 211 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X); 212 212 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y); 213 - input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); 213 + input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 16, 0, 0); 214 214 215 215 touchscreen_parse_properties(input_dev, true, &ts->prop); 216 216 if (!ts->prop.max_x || !ts->prop.max_y) {