[PATCH 2/5] Input: s6sy761 - check the multitouch axis ranges
From: Nizat Mikayilli via B4 Relay
Date: Sun Nov 08 2026 - 03:34:31 EST
From: Nizat Mikayilli <nacht@xxxxxxxxxx>
The axis check runs before input_mt_init_slots() copies the multitouch
ranges to ABS_X and ABS_Y, so it warns on every probe. Check
ABS_MT_POSITION_X and ABS_MT_POSITION_Y instead.
Fixes: 0145a7141e59 ("Input: add support for the Samsung S6SY761 touchscreen")
Signed-off-by: Nizat Mikayilli <nacht@xxxxxxxxxx>
---
drivers/input/touchscreen/s6sy761.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/s6sy761.c b/drivers/input/touchscreen/s6sy761.c
index 967fd222f0d6..59166865d397 100644
--- a/drivers/input/touchscreen/s6sy761.c
+++ b/drivers/input/touchscreen/s6sy761.c
@@ -449,8 +449,8 @@ static int s6sy761_probe(struct i2c_client *client)
touchscreen_parse_properties(sdata->input, true, &sdata->prop);
- if (!input_abs_get_max(sdata->input, ABS_X) ||
- !input_abs_get_max(sdata->input, ABS_Y)) {
+ if (!input_abs_get_max(sdata->input, ABS_MT_POSITION_X) ||
+ !input_abs_get_max(sdata->input, ABS_MT_POSITION_Y)) {
dev_warn(&client->dev, "the axis have not been set\n");
}
--
2.56.0