summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorAlbert Chen <R65187@freescale.com>2009-11-25 15:15:50 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-02-12 17:19:38 +0100
commit87120cfb15c3338875958b7f1630630ae34bdfc3 (patch)
tree0e72cd5569836d82c9b5cbbb07eecabde02fc74c /drivers/usb/host
parent273323477e41bdef0cf9b884f9330998b7730999 (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/usb/host')
-rw-r--r--drivers/usb/host/ehci-arc.c4
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 */