diff options
| -rw-r--r-- | sys/src/9/port/usbehci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/port/usbehci.c b/sys/src/9/port/usbehci.c index 5ac7486cf..6b1c9f12e 100644 --- a/sys/src/9/port/usbehci.c +++ b/sys/src/9/port/usbehci.c @@ -2327,9 +2327,11 @@ epiowait(Hci *hp, Qio *io, int tmout, ulong load) if(qh->state == Qrun){ ctlrinterrupt(ctlr); if(qh->state == Qdone){ + iunlock(ctlr); dqprint("ehci %#p: polling required\n", ctlr->capio); ctlr->poll.must = 1; pollcheck(hp); + ilock(ctlr); } } |
