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
dfc9a24f
Commit
dfc9a24f
authored
Aug 22, 2003
by
Alan Stern
Committed by
Greg Kroah-Hartman
Aug 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: root hub polling stops after suspend
parent
0b2800e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/usb/core/hcd.c
drivers/usb/core/hcd.c
+4
-2
No files found.
drivers/usb/core/hcd.c
View file @
dfc9a24f
...
@@ -483,7 +483,7 @@ static void rh_report_status (unsigned long ptr)
...
@@ -483,7 +483,7 @@ static void rh_report_status (unsigned long ptr)
{
{
struct
urb
*
urb
;
struct
urb
*
urb
;
struct
usb_hcd
*
hcd
;
struct
usb_hcd
*
hcd
;
int
length
;
int
length
=
0
;
unsigned
long
flags
;
unsigned
long
flags
;
urb
=
(
struct
urb
*
)
ptr
;
urb
=
(
struct
urb
*
)
ptr
;
...
@@ -499,7 +499,9 @@ static void rh_report_status (unsigned long ptr)
...
@@ -499,7 +499,9 @@ static void rh_report_status (unsigned long ptr)
return
;
return
;
}
}
length
=
hcd
->
driver
->
hub_status_data
(
hcd
,
urb
->
transfer_buffer
);
if
(
!
HCD_IS_SUSPENDED
(
hcd
->
state
))
length
=
hcd
->
driver
->
hub_status_data
(
hcd
,
urb
->
transfer_buffer
);
/* complete the status urb, or retrigger the timer */
/* complete the status urb, or retrigger the timer */
spin_lock
(
&
hcd_data_lock
);
spin_lock
(
&
hcd_data_lock
);
...
...
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