Linux I2C development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] i2c: dev: fix blocked adapter deregistration
@ 2026-08-27 10:20 Johan Hovold
  2026-08-27 10:20 ` [PATCH v2 1/3] " Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2026-08-27 10:20 UTC (permalink / raw)
  To: Andi Shyti; +Cc: Wolfram Sang, linux-i2c, linux-kernel, Johan Hovold

As part of addressing I2C lifetime issues, this series fixes an issue
which may actually matter to some people, at least if they are playing
around with USB attached I2C controllers, and whose fix does not depend
on any larger rework.
  
This could possibly go into 7.3, but can also wait for 7.4 as the
impact of the issue (both in terms of number of affected users and
symptoms) should be limited.

Johan


Changes in v2:
 - take rwsem also on open()
 - clear adap pointer also if chardev registration fails


Johan Hovold (3):
  i2c: dev: fix blocked adapter deregistration
  i2c: dev: drop unnecessary sysfs device lookup
  i2c: dev: clean up registration

 drivers/i2c/i2c-dev.c | 162 +++++++++++++++++++++++++++---------------
 1 file changed, 103 insertions(+), 59 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-08-27 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 10:20 [PATCH v2 0/3] i2c: dev: fix blocked adapter deregistration Johan Hovold
2026-08-27 10:20 ` [PATCH v2 1/3] " Johan Hovold
2026-08-27 10:20 ` [PATCH v2 2/3] i2c: dev: drop unnecessary sysfs device lookup Johan Hovold
2026-08-27 10:20 ` [PATCH v2 3/3] i2c: dev: clean up registration Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox