Patch "input/touchscreen: imagis: Correct the maximum touch area value" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

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

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     input-touchscreen-imagis-correct-the-maximum-touch-a.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit cef4f67a8680055fcbb1b672603608f0d75294ae
Author: Markuss Broks <markuss.broks@xxxxxxxxx>
Date:   Fri Mar 1 17:41:00 2024 +0100

    input/touchscreen: imagis: Correct the maximum touch area value
    
    [ Upstream commit 54a62ed17a705ef1ac80ebca2b62136b19243e19 ]
    
    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@xxxxxxxxx>
    Signed-off-by: Karel Balej <balejk@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20240301164659.13240-2-karelb@xxxxxxxxxxxxxxxxxxxx
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/input/touchscreen/imagis.c b/drivers/input/touchscreen/imagis.c
index 07111ca244556..e67fd30110278 100644
--- a/drivers/input/touchscreen/imagis.c
+++ b/drivers/input/touchscreen/imagis.c
@@ -210,7 +210,7 @@ static int imagis_init_input_dev(struct imagis_ts *ts)
 
 	input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X);
 	input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y);
-	input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0);
+	input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 16, 0, 0);
 
 	touchscreen_parse_properties(input_dev, true, &ts->prop);
 	if (!ts->prop.max_x || !ts->prop.max_y) {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux