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
nexedi
linux
Commits
96f15584
Commit
96f15584
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 digi_acceleport driver
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
7abd81fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/digi_acceleport.c
+3
-3
No files found.
drivers/usb/serial/digi_acceleport.c
View file @
96f15584
...
...
@@ -1623,7 +1623,7 @@ dbg( "digi_close: TOP: port=%d, open_count=%d", priv->dp_port_num, port->open_co
DIGI_CLOSE_TIMEOUT
);
/* shutdown any outstanding bulk writes */
usb_
unlink_urb
(
port
->
write_urb
);
usb_
kill_urb
(
port
->
write_urb
);
}
tty
->
closing
=
0
;
...
...
@@ -1762,8 +1762,8 @@ dbg( "digi_shutdown: TOP, in_interrupt()=%ld", in_interrupt() );
/* stop reads and writes on all ports */
for
(
i
=
0
;
i
<
serial
->
type
->
num_ports
+
1
;
i
++
)
{
usb_
unlink_urb
(
serial
->
port
[
i
]
->
read_urb
);
usb_
unlink_urb
(
serial
->
port
[
i
]
->
write_urb
);
usb_
kill_urb
(
serial
->
port
[
i
]
->
read_urb
);
usb_
kill_urb
(
serial
->
port
[
i
]
->
write_urb
);
}
/* free the private data structures for all ports */
...
...
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