Skip to content

USB: serial: kl5kusb105: fix open error paths

Johan Hovold lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: serial: kl5kusb105: fix open error pathdrivers/usb/serial/kl5kusb105.c+24 -90 replies
2/2USB: serial: kl5kusb105: abort on open exception pathdrivers/usb/serial/kl5kusb105.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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