Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264938
b: refs/heads/master
c: de76cc2
h: refs/heads/master
v: v3
  • Loading branch information
Hans Petter Selasky authored and Greg Kroah-Hartman committed Sep 9, 2011
1 parent 9aa8e1b commit e0cf868
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5a48592d874ddef8c7880311581eccf0eb30c3b
refs/heads/master: de76cc2ba2116322f1bcc26f5b22d6092bb63a0d
8 changes: 8 additions & 0 deletions trunk/drivers/usb/musb/musb_gadget_ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,14 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb)
musb_readb(mbase, MUSB_FADDR),
decode_ep0stage(musb->ep0_state));

if (csr & MUSB_CSR0_P_DATAEND) {
/*
* If DATAEND is set we should not call the callback,
* hence the status stage is not complete.
*/
return IRQ_HANDLED;
}

/* I sent a stall.. need to acknowledge it now.. */
if (csr & MUSB_CSR0_P_SENTSTALL) {
musb_writew(regs, MUSB_CSR0,
Expand Down

0 comments on commit e0cf868

Please sign in to comment.