lkml.org 
[lkml]   [2016]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] USB: serial: kl5kusb105: fix open error paths
Date
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

\
 
 \ /
  Last update: 2016-11-29 16:56    [W:1.096 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site