Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213601
b: refs/heads/master
c: a6038ee
h: refs/heads/master
i:
  213599: 92cc6c7
v: v3
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 97097f9 commit 96de57c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 434678685407e045ffb246df059c486fc0a16e75
refs/heads/master: a6038ee76a29ea31f8aae4eb6c419794c739e077
5 changes: 5 additions & 0 deletions trunk/drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,
if (int_usb & MUSB_INTR_SESSREQ) {
void __iomem *mbase = musb->mregs;

if (devctl & MUSB_DEVCTL_BDEVICE) {
DBG(3, "SessReq while on B state\n");
return IRQ_HANDLED;
}

DBG(1, "SESSION_REQUEST (%s)\n", otg_state_string(musb));

/* IRQ arrives from ID pin sense or (later, if VBUS power
Expand Down

0 comments on commit 96de57c

Please sign in to comment.