Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86256
b: refs/heads/master
c: 038eb0e
h: refs/heads/master
v: v3
  • Loading branch information
Mirco Tischler authored and Linus Torvalds committed Feb 24, 2008
1 parent 3750db1 commit f9e7086
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 42e6de0e6079f4a7ce6bd62340b1b14a1af314dc
refs/heads/master: 038eb0ea04b245351be34b0ae76b55eee4603989
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/u132-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3213,15 +3213,15 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
dev_err(&u132->platform_dev->dev, "device is being removed\n");
return -ESHUTDOWN;
} else {
int retval = 0;
int retval = 0, ports;

switch (state.event) {
case PM_EVENT_FREEZE:
retval = u132_bus_suspend(hcd);
break;
case PM_EVENT_SUSPEND:
case PM_EVENT_HIBERNATE:
int ports = MAX_U132_PORTS;
ports = MAX_U132_PORTS;
while (ports-- > 0) {
port_power(u132, ports, 0);
}
Expand Down

0 comments on commit f9e7086

Please sign in to comment.