Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163137
b: refs/heads/master
c: bbde6eb
h: refs/heads/master
i:
  163135: b87cc04
v: v3
  • Loading branch information
Anand Gadiyar authored and Kevin Hilman committed Sep 2, 2009
1 parent d1f3d12 commit 74a2731
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24bcadb6508b7c0f7307749228841fe04af6d70f
refs/heads/master: bbde6ebae6dacf2f6e6ac4ab28c1805a2d51c5e1
12 changes: 0 additions & 12 deletions trunk/arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@
#include <mach/mux.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

static struct resource musb_resources[] = {
Expand Down Expand Up @@ -173,13 +164,10 @@ void __init usb_musb_init(void)
printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");
return;
}

usb_musb_pm_init();
}

#else
void __init usb_musb_init(void)
{
usb_musb_pm_init();
}
#endif /* CONFIG_USB_MUSB_SOC */

0 comments on commit 74a2731

Please sign in to comment.