USB: serial: kl5kusb105: fix open error paths
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | USB: serial: kl5kusb105: fix open error pathdrivers/ | +24 | 0 replies | |
| 2/2 | USB: serial: kl5kusb105: abort on open exception pathdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths
Pan Bian found an issue with the kl5kusb105 open error handling, which would not abort an open attempt when a vendor command to "enable read" failed.
Turns out there were more issues with this function, specifically any urbs submitted would not be killed before returning on failures to retrieve the line status.
I fixed up the latter and rebased the Pan Bian's patch on top.
Johan
Johan Hovold (1):
USB: serial: kl5kusb105: fix open error path
Pan Bian (1):
USB: serial: kl5kusb105: abort on open exception path
drivers/usb/serial/kl5kusb105.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-)
Signature · 1 line
2.7.3