Alexandre Hamamdjian
ad1d940efb
Input: edt-ft5x06 - ignore contacts with an out-of-range slot id
...
The per-contact slot id is taken from the top nibble of the third
report byte, so it can be any value from 0 to 15. The driver only
allocates max_support_points MT slots (2 to 10 depending on the
variant), so a report that carries an id at or above that count - be it
a genuinely higher-numbered contact or a corrupted byte - is outside the
range the input core was told about.
input_mt_slot() silently ignores an ABS_MT_SLOT beyond num_slots and
leaves the current slot unchanged, so the following
input_mt_report_slot_state()/touchscreen_report_pos() pair is applied to
whichever slot happened to be selected last, reporting the contact at the
wrong position. Skip such entries instead.
Signed-off-by: Alexandre Hamamdjian <azkali.limited@gmail.com >
Link: https://patch.msgid.link/20260723-b4-ft5426-v2-1-cd2bed168051@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2026-07-23 10:41:54 -07:00
..
2024-10-19 21:21:41 -07:00
2026-03-24 21:14:18 -07:00
2026-05-30 22:10:47 -07:00
2023-09-06 14:23:47 -07:00
2026-03-24 21:14:19 -07:00
2023-09-06 14:23:47 -07:00
2026-06-10 15:47:47 -07:00
2025-12-18 12:17:10 -08:00
2026-05-30 22:10:47 -07:00
2026-05-31 19:43:25 -07:00
2026-05-30 22:10:47 -07:00
2024-09-30 07:58:33 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-03-24 21:14:22 -07:00
2024-10-02 17:23:23 -04:00
2024-08-19 10:22:56 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-03-24 21:14:23 -07:00
2024-08-05 10:48:49 -07:00
2026-05-30 22:10:47 -07:00
2023-01-27 14:49:53 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-07-23 10:41:54 -07:00
2026-05-30 22:10:47 -07:00
2026-02-21 17:09:51 -08:00
2026-05-30 22:10:47 -07:00
2026-03-24 21:14:24 -07:00
2026-05-30 22:10:47 -07:00
2026-03-24 21:14:26 -07:00
2026-05-30 22:10:47 -07:00
2025-08-21 12:00:59 -07:00
2026-02-21 17:09:51 -08:00
2026-03-25 09:08:17 -07:00
2025-03-10 10:46:08 -07:00
2025-03-10 10:46:08 -07:00
2025-03-10 10:46:08 -07:00
2026-03-24 21:14:27 -07:00
2026-06-22 20:44:12 -07:00
2025-10-13 09:35:26 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-05-30 22:10:47 -07:00
2025-09-17 14:44:02 -07:00
2026-05-30 22:10:47 -07:00
2021-01-26 07:42:27 +01:00
2026-03-24 21:14:49 -07:00
2024-10-02 17:23:23 -04:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-03-24 21:14:50 -07:00
2026-03-24 21:14:50 -07:00
2026-02-21 17:09:51 -08:00
2026-03-24 21:14:51 -07:00
2026-05-30 22:11:56 -07:00
2026-03-24 21:14:53 -07:00
2026-05-29 22:31:40 -07:00
2026-03-24 21:14:53 -07:00
2024-10-15 11:43:25 -07:00
2026-05-29 22:31:40 -07:00
2026-05-30 22:10:47 -07:00
2026-02-21 17:09:51 -08:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-07-10 21:37:51 -07:00
2026-03-24 21:14:56 -07:00
2026-02-21 17:09:51 -08:00
2026-03-25 07:53:57 -07:00
2026-05-30 22:10:47 -07:00
2026-02-21 17:09:51 -08:00
2026-05-30 22:10:47 -07:00
2024-10-19 21:21:43 -07:00
2026-05-30 22:10:47 -07:00
2023-07-07 16:54:29 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2025-04-28 12:14:12 -07:00
2024-10-15 11:43:25 -07:00
2026-03-25 07:53:59 -07:00
2024-10-02 17:23:23 -04:00
2026-03-25 07:53:59 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-06-14 13:58:16 -07:00
2022-10-24 05:18:55 -07:00
2024-10-19 21:21:43 -07:00
2026-02-21 17:09:51 -08:00
2025-08-21 12:00:59 -07:00
2024-08-04 18:10:40 -07:00
2026-05-30 22:10:47 -07:00
2024-08-04 18:10:40 -07:00
2026-05-30 22:10:47 -07:00
2026-03-25 07:53:59 -07:00
2024-12-10 16:17:30 -08:00
2026-04-26 21:00:25 -07:00
2026-05-30 22:10:47 -07:00
2026-02-21 17:09:51 -08:00
2026-05-29 22:31:40 -07:00
2026-05-30 22:10:47 -07:00
2026-03-25 07:54:00 -07:00
2024-10-15 11:43:25 -07:00
2025-08-21 12:00:59 -07:00
2025-08-21 12:00:59 -07:00
2025-08-21 12:00:59 -07:00
2026-05-30 22:10:47 -07:00
2026-05-30 22:10:47 -07:00
2026-03-25 07:54:00 -07:00