Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334552
b: refs/heads/master
c: 6ff1f3d
h: refs/heads/master
v: v3
  • Loading branch information
Stefano Babic authored and Felipe Balbi committed Oct 15, 2012
1 parent 6e0b18e commit 5c85041
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 041d81f493d90c940ec41f0ec98bc7c4f2fba431
refs/heads/master: 6ff1f3d3bd7c69c62ca5773b1b684bce42eff06a
6 changes: 6 additions & 0 deletions trunk/drivers/usb/musb/am35x.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ static irqreturn_t am35x_musb_interrupt(int irq, void *hci)
ret = IRQ_HANDLED;
}

/* Drop spurious RX and TX if device is disconnected */
if (musb->int_usb & MUSB_INTR_DISCONNECT) {
musb->int_tx = 0;
musb->int_rx = 0;
}

if (musb->int_tx || musb->int_rx || musb->int_usb)
ret |= musb_interrupt(musb);

Expand Down

0 comments on commit 5c85041

Please sign in to comment.