Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361268
b: refs/heads/master
c: f8c4b0e
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Felipe Balbi committed Mar 5, 2013
1 parent 3a829df commit 59158d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: e574d5708156585ee506b7f914ed4a55a319d294
refs/heads/master: f8c4b0e73b636fe06e8283f29905c2e60ed66fa1
10 changes: 7 additions & 3 deletions trunk/drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,13 @@ void omap_musb_mailbox(enum omap_musb_vbus_id_status status)
{
struct omap2430_glue *glue = _glue;

if (glue && glue_to_musb(glue)) {
glue->status = status;
} else {
if (!glue) {
pr_err("%s: musb core is not yet initialized\n", __func__);
return;
}
glue->status = status;

if (!glue_to_musb(glue)) {
pr_err("%s: musb core is not yet ready\n", __func__);
return;
}
Expand Down

0 comments on commit 59158d0

Please sign in to comment.