Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59383
b: refs/heads/master
c: 8adb478
h: refs/heads/master
i:
  59381: 2195524
  59379: 05a85b0
  59375: 656532b
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Jul 12, 2007
1 parent f0c7249 commit 01e43cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: b6f6436da0c6853eedad86f5075b139c1a3bcb5d
refs/heads/master: 8adb4786789c25007f39b4d00dd03cc83bdcb896
13 changes: 0 additions & 13 deletions trunk/drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2426,19 +2426,6 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1,
return;
}

#ifdef CONFIG_USB_SUSPEND
/* If something is connected, but the port is suspended, wake it up. */
if (portstatus & USB_PORT_STAT_SUSPEND) {
status = hub_port_resume(hub, port1, NULL);
if (status < 0) {
dev_dbg(hub_dev,
"can't clear suspend on port %d; %d\n",
port1, status);
goto done;
}
}
#endif

for (i = 0; i < SET_CONFIG_TRIES; i++) {
struct usb_device *udev;

Expand Down

0 comments on commit 01e43cf

Please sign in to comment.