All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Input: sx8654 - fix SX8650 reset and status handling
@ 2026-11-23 18:41 ` Fil Dunsky via B4 Relay
  0 siblings, 0 replies; 7+ messages in thread
From: Fil Dunsky @ 2026-11-23 18:41 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, stable

Fix two independent issues introduced with SX8650 support. Its soft-reset
register is 0x1f, unlike the other supported variants. Also retain the
signed SMBus status return so an I2C error cannot be interpreted as a
conversion interrupt.

On Almond+, writing the old reset address acknowledged but left CTRL2
unchanged; using 0x1f restored the documented reset value. An isolated
harness using the actual driver helpers exercised 39167 cases under
ASan/UBSan, including negative status reads and both reset paths. ARM
built-in and module compilation passed on Linux v7.4-rc4.

These fixes are independent of the Cortina platform series. Local
OpenWrt conversion-rate and recovery policy changes are not included.

Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
---
Fil Dunsky (2):
      Input: sx8654 - use the SX8650 soft-reset register
      Input: sx8654 - check SX8650 status read errors

 drivers/input/touchscreen/sx8654.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261123-b4-sx8650-fixes-d4995bbfdd79

Best regards,
--  
Fil Dunsky <filipp.dunsky@gmail.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-24  4:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 18:41 [PATCH 0/2] Input: sx8654 - fix SX8650 reset and status handling Fil Dunsky
2026-11-23 18:41 ` Fil Dunsky via B4 Relay
2026-11-23 18:41 ` [PATCH 1/2] Input: sx8654 - use the SX8650 soft-reset register Fil Dunsky
2026-11-23 18:41   ` Fil Dunsky via B4 Relay
2026-11-23 18:41 ` [PATCH 2/2] Input: sx8654 - check SX8650 status read errors Fil Dunsky
2026-11-23 18:41   ` Fil Dunsky via B4 Relay
2026-11-24  4:39 ` [PATCH 0/2] Input: sx8654 - fix SX8650 reset and status handling Dmitry Torokhov

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.