diff options
author | Albert Chen <R65187@freescale.com> | 2009-11-25 15:15:50 +0800 |
---|---|---|
committer | Albert Chen <R65187@freescale.com> | 2009-11-26 10:03:26 +0800 |
commit | ffcfdda92b034595da28e5a6fc740f881b459d1d (patch) | |
tree | 0e72cd5569836d82c9b5cbbb07eecabde02fc74c /drivers | |
parent | b8450d20d2ae670981f6ce147bae3735a8a076b0 (diff) |
ENGR00109408 mx25 usb remote wakeup
Add remote wakeup feature for host mode.
Signed-off-by: Albert Chen <r65187@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/ehci-arc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c index 78d6e9145328..57aa1a4fd64d 100644 --- a/drivers/usb/host/ehci-arc.c +++ b/drivers/usb/host/ehci-arc.c @@ -429,7 +429,6 @@ static int ehci_fsl_drv_remove(struct platform_device *pdev) } #ifdef CONFIG_PM -extern void usb_host_set_wakeup(struct device *wkup_dev, bool para); /* suspend/resume, section 4.3 */ /* These routines rely on the bus (pci, platform, etc) @@ -514,7 +513,8 @@ static int ehci_fsl_drv_suspend(struct platform_device *pdev, if (!((ehci->transceiver) && (readl(hcd->regs + 0x1A4) & (1 << 8)))) { /* enable remote wake up irq */ - usb_host_set_wakeup(&(pdev->dev), true); + if (pdata->wake_up_enable) + pdata->wake_up_enable(pdata, true); /* We CAN NOT enable wake up by connetion and disconnection * concurrently */ |