|
@@ -31,15 +31,6 @@
|
|
#include <mach/mux.h>
|
|
#include <mach/mux.h>
|
|
#include <mach/usb.h>
|
|
#include <mach/usb.h>
|
|
|
|
|
|
-#define OTG_SYSCONFIG (OMAP34XX_HSUSB_OTG_BASE + 0x404)
|
|
|
|
-
|
|
|
|
-static void __init usb_musb_pm_init(void)
|
|
|
|
-{
|
|
|
|
- /* Ensure force-idle mode for OTG controller */
|
|
|
|
- if (cpu_is_omap34xx())
|
|
|
|
- omap_writel(0, OTG_SYSCONFIG);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_USB_MUSB_SOC
|
|
#ifdef CONFIG_USB_MUSB_SOC
|
|
|
|
|
|
static struct resource musb_resources[] = {
|
|
static struct resource musb_resources[] = {
|
|
@@ -173,13 +164,10 @@ void __init usb_musb_init(void)
|
|
printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");
|
|
printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
-
|
|
|
|
- usb_musb_pm_init();
|
|
|
|
}
|
|
}
|
|
|
|
|
|
#else
|
|
#else
|
|
void __init usb_musb_init(void)
|
|
void __init usb_musb_init(void)
|
|
{
|
|
{
|
|
- usb_musb_pm_init();
|
|
|
|
}
|
|
}
|
|
#endif /* CONFIG_USB_MUSB_SOC */
|
|
#endif /* CONFIG_USB_MUSB_SOC */
|