[PATCH 0/2] USB: serial: kl5kusb105: fix open error paths

From: Johan Hovold
Date: Tue Nov 29 2016 - 10:55:45 EST


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(-)

--
2.7.3