Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1f859b6e
Commit
1f859b6e
authored
Sep 08, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix usb_unlink_urb() usage in io_ti driver
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
f3a87694
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/usb/serial/io_ti.c
drivers/usb/serial/io_ti.c
+3
-3
No files found.
drivers/usb/serial/io_ti.c
View file @
1f859b6e
...
...
@@ -1977,7 +1977,7 @@ static void edge_close (struct usb_serial_port *port, struct file * filp)
/* chase the port close */
TIChasePort
(
edge_port
);
usb_
unlink_urb
(
port
->
read_urb
);
usb_
kill_urb
(
port
->
read_urb
);
/* assuming we can still talk to the device,
* send a close port command to it */
...
...
@@ -1992,7 +1992,7 @@ static void edge_close (struct usb_serial_port *port, struct file * filp)
--
edge_port
->
edge_serial
->
num_ports_open
;
if
(
edge_port
->
edge_serial
->
num_ports_open
<=
0
)
{
/* last port is now closed, let's shut down our interrupt urb */
usb_
unlink_urb
(
port
->
serial
->
port
[
0
]
->
interrupt_in_urb
);
usb_
kill_urb
(
port
->
serial
->
port
[
0
]
->
interrupt_in_urb
);
edge_port
->
edge_serial
->
num_ports_open
=
0
;
}
edge_port
->
close_pending
=
0
;
...
...
@@ -2126,7 +2126,7 @@ static void edge_throttle (struct usb_serial_port *port)
status
=
TIClearRts
(
edge_port
);
}
usb_
unlink_urb
(
port
->
read_urb
);
usb_
kill_urb
(
port
->
read_urb
);
}
static
void
edge_unthrottle
(
struct
usb_serial_port
*
port
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment