Re: [PATCH v2 0/3] Input: raydium_i2c_ts report handling fixes
From: Pooyan Azadparvar
Date: Wed Oct 07 2026 - 05:31:27 EST
Hi Dmitry,
A gentle ping on this v2 series. Please let me know if there is
anything else I should address.
Thanks,
Pooyan
On Mon, Sep 28, 2026 at 6:26 PM Pooyan Azad <pooyan.azadparvar@xxxxxxxxx> wrote:
>
> 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