All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pooyan Azad <pooyan.azadparvar@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
	"Muhammad Bilal" <meatuni001@gmail.com>,
	"Herlangga Maulani" <w1zardsec@proton.me>,
	"Rob Herring" <robh@kernel.org>,
	"Jeffrey Lin" <jeffrey.lin@rad-ic.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] Input: raydium_i2c_ts report handling fixes
Date: Mon, 28 Sep 2026 18:26:15 +0200	[thread overview]
Message-ID: <cover.1790612085.git.pooyan.azadparvar@gmail.com> (raw)
In-Reply-To: <20260927114425.442803-1-pooyan.azadparvar@gmail.com>

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

  parent reply	other threads:[~2026-09-28 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27 11:44 [PATCH] Input: raydium_i2c_ts - validate report parameters Pooyan Azad
2026-09-27 17:30 ` Muhammad Bilal
2026-09-27 17:58   ` Pooyan Azadparvar
2026-09-28  2:38 ` Dmitry Torokhov
2026-09-28  6:04   ` Pooyan Azadparvar
2026-09-28 16:26 ` Pooyan Azad [this message]
2026-09-28 16:26   ` [PATCH v2 1/3] " Pooyan Azad
2026-09-28 16:26   ` [PATCH v2 2/3] Input: raydium_i2c_ts - resize report buffer after firmware update Pooyan Azad
2026-09-28 16:26   ` [PATCH v2 3/3] Input: raydium_i2c_ts - defer report buffer allocation Pooyan Azad
2026-10-07  9:04   ` [PATCH v2 0/3] Input: raydium_i2c_ts report handling fixes Pooyan Azadparvar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1790612085.git.pooyan.azadparvar@gmail.com \
    --to=pooyan.azadparvar@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jeffrey.lin@rad-ic.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=meatuni001@gmail.com \
    --cc=robh@kernel.org \
    --cc=u.kleine-koenig@baylibre.com \
    --cc=w1zardsec@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.