Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248821
b: refs/heads/master
c: a7535ac
h: refs/heads/master
i:
  248819: 2186fa4
v: v3
  • Loading branch information
Manuel Lauss authored and Greg Kroah-Hartman committed May 7, 2011
1 parent d9170e4 commit 68e119f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 3df004532582d0cc721da0df28311bcedd639724
refs/heads/master: a7535ac05443f234b9c68389fc053976383feca4
9 changes: 3 additions & 6 deletions trunk/drivers/usb/host/ehci-au1xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,7 @@ static int ehci_hcd_au1xxx_drv_suspend(struct device *dev)
struct usb_hcd *hcd = dev_get_drvdata(dev);
struct ehci_hcd *ehci = hcd_to_ehci(hcd);
unsigned long flags;
int rc;

return 0;
rc = 0;
int rc = 0;

if (time_before(jiffies, ehci->next_statechange))
msleep(10);
Expand All @@ -234,13 +231,13 @@ static int ehci_hcd_au1xxx_drv_suspend(struct device *dev)
(void)ehci_readl(ehci, &ehci->regs->intr_enable);

clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);

au1xxx_stop_ehc();
spin_unlock_irqrestore(&ehci->lock, flags);

// could save FLADJ in case of Vaux power loss
// ... we'd only use it to handle clock skew

au1xxx_stop_ehc();

return rc;
}

Expand Down

0 comments on commit 68e119f

Please sign in to comment.