Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213600
b: refs/heads/master
c: 4346786
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 92cc6c7 commit 97097f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: 2f8d5cd6bcf814411ec356bcdbc666d07bbc6026
refs/heads/master: 434678685407e045ffb246df059c486fc0a16e75
12 changes: 3 additions & 9 deletions trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ void musb_g_rx(struct musb *musb, u8 epnum)
musb_writew(epio, MUSB_RXCSR, csr);

DBG(3, "%s iso overrun on %p\n", musb_ep->name, request);
if (request && request->status == -EINPROGRESS)
if (request->status == -EINPROGRESS)
request->status = -EOVERFLOW;
}
if (csr & MUSB_RXCSR_INCOMPRX) {
Expand Down Expand Up @@ -828,14 +828,8 @@ void musb_g_rx(struct musb *musb, u8 epnum)
return;
}

/* analyze request if the ep is hot */
if (request)
rxstate(musb, to_musb_request(request));
else
DBG(3, "packet waiting for %s%s request\n",
musb_ep->desc ? "" : "inactive ",
musb_ep->end_point.name);
return;
/* Analyze request */
rxstate(musb, to_musb_request(request));
}

/* ------------------------------------------------------------ */
Expand Down

0 comments on commit 97097f9

Please sign in to comment.