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
af2a09fe
Commit
af2a09fe
authored
Feb 05, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usb_submit_urb() changes.
Patch done by Oliver Neukum.
parent
5a2c4a8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/usb/storage/scsiglue.c
drivers/usb/storage/scsiglue.c
+1
-1
drivers/usb/storage/transport.c
drivers/usb/storage/transport.c
+2
-2
drivers/usb/storage/usb.c
drivers/usb/storage/usb.c
+1
-1
No files found.
drivers/usb/storage/scsiglue.c
View file @
af2a09fe
...
...
@@ -278,7 +278,7 @@ static int bus_reset( Scsi_Cmnd *srb )
if
(
us
->
protocol
==
US_PR_CBI
)
{
down
(
&
(
us
->
irq_urb_sem
));
us
->
irq_urb
->
dev
=
us
->
pusb_dev
;
result
=
usb_submit_urb
(
us
->
irq_urb
);
result
=
usb_submit_urb
(
us
->
irq_urb
,
GFP_NOIO
);
US_DEBUGP
(
"usb_submit_urb() returns %d
\n
"
,
result
);
up
(
&
(
us
->
irq_urb_sem
));
}
...
...
drivers/usb/storage/transport.c
View file @
af2a09fe
...
...
@@ -414,7 +414,7 @@ int usb_stor_control_msg(struct us_data *us, unsigned int pipe,
us
->
current_urb
->
transfer_flags
=
USB_ASYNC_UNLINK
;
/* submit the URB */
status
=
usb_submit_urb
(
us
->
current_urb
);
status
=
usb_submit_urb
(
us
->
current_urb
,
GFP_NOIO
);
if
(
status
)
{
/* something went wrong */
up
(
&
(
us
->
current_urb_sem
));
...
...
@@ -461,7 +461,7 @@ int usb_stor_bulk_msg(struct us_data *us, void *data, int pipe,
us
->
current_urb
->
transfer_flags
=
USB_ASYNC_UNLINK
;
/* submit the URB */
status
=
usb_submit_urb
(
us
->
current_urb
);
status
=
usb_submit_urb
(
us
->
current_urb
,
GFP_NOIO
);
if
(
status
)
{
/* something went wrong */
up
(
&
(
us
->
current_urb_sem
));
...
...
drivers/usb/storage/usb.c
View file @
af2a09fe
...
...
@@ -534,7 +534,7 @@ static int usb_stor_allocate_irq(struct us_data *ss)
usb_stor_CBI_irq
,
ss
,
ss
->
ep_int
->
bInterval
);
/* submit the URB for processing */
result
=
usb_submit_urb
(
ss
->
irq_urb
);
result
=
usb_submit_urb
(
ss
->
irq_urb
,
GFP_KERNEL
);
US_DEBUGP
(
"usb_submit_urb() returns %d
\n
"
,
result
);
if
(
result
)
{
usb_free_urb
(
ss
->
irq_urb
);
...
...
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