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
5a8a7173
Commit
5a8a7173
authored
Apr 14, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: keyspan: fixed up might_sleep() problems on device close.
parent
f73f55fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/usb/serial/keyspan.c
drivers/usb/serial/keyspan.c
+3
-3
No files found.
drivers/usb/serial/keyspan.c
View file @
5a8a7173
...
...
@@ -1534,7 +1534,7 @@ static int keyspan_usa26_send_setup(struct usb_serial *serial,
this_urb
->
transfer_buffer_length
=
sizeof
(
msg
);
this_urb
->
dev
=
serial
->
dev
;
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
KERNEL
))
!=
0
)
{
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
ATOMIC
))
!=
0
)
{
dbg
(
"%s - usb_submit_urb(setup) failed (%d)"
,
__FUNCTION__
,
err
);
}
#if 0
...
...
@@ -1659,7 +1659,7 @@ static int keyspan_usa28_send_setup(struct usb_serial *serial,
this_urb
->
transfer_buffer_length
=
sizeof
(
msg
);
this_urb
->
dev
=
serial
->
dev
;
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
KERNEL
))
!=
0
)
{
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
ATOMIC
))
!=
0
)
{
dbg
(
"%s - usb_submit_urb(setup) failed"
,
__FUNCTION__
);
}
#if 0
...
...
@@ -1824,7 +1824,7 @@ static int keyspan_usa49_send_setup(struct usb_serial *serial,
this_urb
->
transfer_buffer_length
=
sizeof
(
msg
);
this_urb
->
dev
=
serial
->
dev
;
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
KERNEL
))
!=
0
)
{
if
((
err
=
usb_submit_urb
(
this_urb
,
GFP_
ATOMIC
))
!=
0
)
{
dbg
(
"%s - usb_submit_urb(setup) failed (%d)"
,
__FUNCTION__
,
err
);
}
#if 0
...
...
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