i2c: dev: fix blocked adapter deregistration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 12 repliesIn review
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- take rwsem also on open()
- clear adap pointer also if chardev registration fails
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | i2c: dev: fix blocked adapter deregistrationdrivers/ | +76 | 2 replies | |
| 2/3 | i2c: dev: drop unnecessary sysfs device lookupdrivers/ | +3 | 2 replies | |
| 3/3 | i2c: dev: clean up registrationdrivers/ | +29 | 6 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Bartosz Golaszewski | Wolfram Sang |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | R-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] i2c: dev: fix blocked adapter deregistration
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(-)
Signature · 1 line
2.54.0