diff options
author | Peter Chen <peter.chen@freescale.com> | 2011-08-24 15:00:49 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2011-08-24 15:16:08 +0800 |
commit | 38eb305319816af032eb91bcc420108afc240af1 (patch) | |
tree | 84341281dcac016369992ed475a5593e249fc3fd /arch/arm/mach-mx5/usb_h2.c | |
parent | 0bb00997b5778b12551e662beb07ccc0cb01b925 (diff) |
ENGR00144145-1 usb: can be built as loadable modules
MSL part
Follow below load sequence to use OTG
- fsl_otg_arc
- ehci-hcd
- arcotg_udc
Besides, in order to match i.mx53 release windows, it changes some
common code, there will be a better solution at 2.6.38 in future
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/usb_h2.c')
-rw-r--r-- | arch/arm/mach-mx5/usb_h2.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-mx5/usb_h2.c b/arch/arm/mach-mx5/usb_h2.c index 516c62dea814..4ba29774b312 100644 --- a/arch/arm/mach-mx5/usb_h2.c +++ b/arch/arm/mach-mx5/usb_h2.c @@ -22,12 +22,6 @@ #include "iomux.h" #include "mx51_pins.h" -#ifdef CONFIG_USB_EHCI_ARC -extern void fsl_usb_recover_hcd(struct platform_device *pdev); -#else -static void fsl_usb_recover_hcd(struct platform_device *pdev) -{; } -#endif /* * USB Host2 HS port */ @@ -109,7 +103,7 @@ static void h2_wakeup_handler(struct fsl_usb2_platform_data *pdata) { _wake_up_enable(pdata, false); _phy_lowpower_suspend(pdata, false); - fsl_usb_recover_hcd(&mxc_usbh2_device); + pdata->wakeup_event = 1; } static void usbh2_wakeup_event_clear(void) |