Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303076
b: refs/heads/master
c: 19b08b3
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley authored and Tony Lindgren committed May 11, 2012
1 parent 2ec28a2 commit ab8e5d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 121e1a73a6246df206e779cc163ce95fbd300877
refs/heads/master: 19b08b33fa4c60d66d4e341d4d1d9a6e86ffc9e6
4 changes: 3 additions & 1 deletion trunk/arch/arm/plat-omap/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void __init
omap_otg_init(struct omap_usb_config *config)
{
u32 syscon;
int status;
int alt_pingroup = 0;

/* NOTE: no bus or clock setup (yet?) */
Expand Down Expand Up @@ -102,6 +101,7 @@ omap_otg_init(struct omap_usb_config *config)
#ifdef CONFIG_USB_GADGET_OMAP
if (config->otg || config->register_dev) {
struct platform_device *udc_device = config->udc_device;
int status;

syscon &= ~DEV_IDLE_EN;
udc_device->dev.platform_data = config;
Expand All @@ -114,6 +114,7 @@ omap_otg_init(struct omap_usb_config *config)
#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
if (config->otg || config->register_host) {
struct platform_device *ohci_device = config->ohci_device;
int status;

syscon &= ~HST_IDLE_EN;
ohci_device->dev.platform_data = config;
Expand All @@ -126,6 +127,7 @@ omap_otg_init(struct omap_usb_config *config)
#ifdef CONFIG_USB_OTG
if (config->otg) {
struct platform_device *otg_device = config->otg_device;
int status;

syscon &= ~OTG_IDLE_EN;
otg_device->dev.platform_data = config;
Expand Down

0 comments on commit ab8e5d4

Please sign in to comment.