USB: usblcd: disconnect fix and locking clean ups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | USB: usblcd: fix I/O after disconnectdrivers/ | +31 | 0 replies | |
| 1/4 | USB: usblcd: fix I/O after disconnectdrivers/ | +31 | 0 replies | |
| 2/4 | USB: usblcd: drop redundant disconnect mutexdrivers/ | +1 | 0 replies | |
| 2/4 | USB: usblcd: drop redundant disconnect mutexdrivers/ | +1 | 0 replies | |
| 3/4 | USB: usblcd: drop redundant lcd mutexdrivers/ | +0 | 0 replies | |
| 3/4 | USB: usblcd: drop redundant lcd mutexdrivers/ | +0 | 0 replies | |
| 4/4 | USB: usblcd: use pr_err()drivers/ | +1 | 0 replies | |
| 4/4 | USB: usblcd: use pr_err()drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] USB: usblcd: disconnect fix and locking clean ups
This series fixes a failure to stop I/O on disconnect() in the usblcd driver. Turns out there was a lot of legacy cruft in this driver which could simply be removed.
The first patch is marked for stable and could go into v5.4 while the rest is v5.5 material. Posting all at once for completeness.
I was tempted to rip out the custom ioctls() used to retrieve the driver version and bcdDevice (sic!), but decided to leave them in. I doubt anyone would miss them though so perhaps we should give it a go?
Tested using a mockup device.
Johan
Johan Hovold (4):
USB: usblcd: fix I/O after disconnect
USB: usblcd: drop redundant disconnect mutex
USB: usblcd: drop redundant lcd mutex
USB: usblcd: use pr_err()
drivers/usb/misc/usblcd.c | 60 +++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 27 deletions(-)
Signature · 1 line
2.23.0