[PATCH v2 0/3] Input: raydium_i2c_ts report handling fixes
From: Pooyan Azad
Date: Mon Sep 28 2026 - 12:35:10 EST
Hi Dmitry,
This is v2 of the Raydium report parameter patch, split as requested.
Patch 1 validates the packet and contact sizes supplied by the controller.
It also propagates main firmware query errors because otherwise a validation
failure would be ignored by initialization. This is the only patch marked
for stable.
Patch 2 resizes an existing report buffer when a firmware update changes the
packet size. Patch 3 moves the initial allocation to the main firmware query
so devices can remain usable for recovery when they probe in bootloader mode.
Changes in v2:
- Split validation, buffer resizing, and bootloader-mode allocation handling
into separate patches.
- Mark only the validation fix for stable.
- Rebase onto v7.3-rc5.
The series was compile-tested with:
make O=/tmp/raydium-build W=1 -j$(nproc) \
drivers/input/touchscreen/raydium_i2c_ts.o
No runtime testing with a Raydium controller was performed.
Thanks,
Pooyan
Pooyan Azad (3):
Input: raydium_i2c_ts - validate report parameters
Input: raydium_i2c_ts - resize report buffer after firmware update
Input: raydium_i2c_ts - defer report buffer allocation
drivers/input/touchscreen/raydium_i2c_ts.c | 64 +++++++++++++---------
1 file changed, 39 insertions(+), 25 deletions(-)
--
2.43.0