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
0f694983
Commit
0f694983
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_edgeport driver
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
f0afcd40
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_edgeport.c
drivers/usb/serial/io_edgeport.c
+3
-3
No files found.
drivers/usb/serial/io_edgeport.c
View file @
0f694983
...
...
@@ -1243,7 +1243,7 @@ static void edge_close (struct usb_serial_port *port, struct file * filp)
edge_port
->
openPending
=
FALSE
;
if
(
edge_port
->
write_urb
)
{
usb_
unlink_urb
(
edge_port
->
write_urb
);
usb_
kill_urb
(
edge_port
->
write_urb
);
}
if
(
edge_port
->
write_urb
)
{
...
...
@@ -2448,8 +2448,8 @@ static int write_cmd_usb (struct edgeport_port *edge_port, unsigned char *buffer
if
(
status
)
{
/* something went wrong */
dbg
(
"%s - usb_submit_urb(write bulk) failed"
,
__FUNCTION__
);
usb_
unlink_urb
(
urb
);
usb_free_urb
(
urb
);
usb_
kill_urb
(
urb
);
usb_free_urb
(
urb
);
return
status
;
}
...
...
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