Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364735
b: refs/heads/master
c: bb467cf
h: refs/heads/master
i:
  364733: 78d5b15
  364731: 19ed9cf
  364727: 83456de
  364719: d6525ab
  364703: cd0b2b1
  364671: fca8e84
v: v3
  • Loading branch information
Kishon Vijay Abraham I authored and Felipe Balbi committed Mar 18, 2013
1 parent e706552 commit 8697e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1
refs/heads/master: bb467cf5693b59c76c22b73dd383920a87f37b16
10 changes: 4 additions & 6 deletions trunk/drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ static void omap2430_musb_set_vbus(struct musb *musb, int is_on)
}
}

if (otg->set_vbus)
otg_set_vbus(otg, 1);
otg_set_vbus(otg, 1);
} else {
musb->is_active = 1;
otg->default_a = 1;
Expand Down Expand Up @@ -296,10 +295,9 @@ static void omap_musb_set_mailbox(struct omap2430_glue *glue)
pm_runtime_put_autosuspend(dev);
}

if (data->interface_type == MUSB_INTERFACE_UTMI) {
if (musb->xceiv->otg->set_vbus)
otg_set_vbus(musb->xceiv->otg, 0);
}
if (data->interface_type == MUSB_INTERFACE_UTMI)
otg_set_vbus(musb->xceiv->otg, 0);

omap_control_usb_set_mode(glue->control_otghs,
USB_MODE_DISCONNECT);
break;
Expand Down

0 comments on commit 8697e02

Please sign in to comment.