Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280907
b: refs/heads/master
c: b3314d9
h: refs/heads/master
i:
  280905: 6c44458
  280903: da4b7d8
v: v3
  • Loading branch information
Felipe Contreras authored and Felipe Balbi committed Dec 20, 2011
1 parent 34eea6c commit 545bc81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 772aed45b604c5ff171f0f12c12392d868333f79
refs/heads/master: b3314d9ac55f4aa13fd339ee16e95828414f51d4
8 changes: 1 addition & 7 deletions trunk/drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,7 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work)
case USB_EVENT_ID:
dev_dbg(musb->controller, "ID GND\n");

if (is_otg_enabled(musb)) {
if (musb->gadget_driver) {
pm_runtime_get_sync(musb->controller);
otg_init(musb->xceiv);
omap2430_musb_set_vbus(musb, 1);
}
} else {
if (!is_otg_enabled(musb) || musb->gadget_driver) {
pm_runtime_get_sync(musb->controller);
otg_init(musb->xceiv);
omap2430_musb_set_vbus(musb, 1);
Expand Down

0 comments on commit 545bc81

Please sign in to comment.