Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299145
b: refs/heads/master
c: b446b96
h: refs/heads/master
i:
  299143: 02f2dfd
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Apr 9, 2012
1 parent 7e75220 commit 64dccde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a448e4dc25303fe551e4dafe16c8c7c34f1b9d82
refs/heads/master: b446b96fd11b69b7c4ecd47d869cff9094fd8802
5 changes: 3 additions & 2 deletions trunk/drivers/usb/host/uhci-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,12 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf)
status = get_hub_status_data(uhci, buf);

switch (uhci->rh_state) {
case UHCI_RH_SUSPENDING:
case UHCI_RH_SUSPENDED:
/* if port change, ask to be resumed */
if (status || uhci->resuming_ports)
if (status || uhci->resuming_ports) {
status = 1;
usb_hcd_resume_root_hub(hcd);
}
break;

case UHCI_RH_AUTO_STOPPED:
Expand Down

0 comments on commit 64dccde

Please sign in to comment.