diff options
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r-- | drivers/usb/host/ehci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index a0afc78b273e..88dad4b53131 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c | |||
@@ -300,7 +300,7 @@ static int ehci_pci_resume(struct usb_hcd *hcd) | |||
300 | if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF) { | 300 | if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF) { |
301 | int mask = INTR_MASK; | 301 | int mask = INTR_MASK; |
302 | 302 | ||
303 | if (!device_may_wakeup(&hcd->self.root_hub->dev)) | 303 | if (!hcd->self.root_hub->do_remote_wakeup) |
304 | mask &= ~STS_PCD; | 304 | mask &= ~STS_PCD; |
305 | ehci_writel(ehci, mask, &ehci->regs->intr_enable); | 305 | ehci_writel(ehci, mask, &ehci->regs->intr_enable); |
306 | ehci_readl(ehci, &ehci->regs->intr_enable); | 306 | ehci_readl(ehci, &ehci->regs->intr_enable); |