diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-05-24 02:43:21 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-05-24 02:43:21 +0200 |
commit | f59101231a5513bfa12149504f3ba26323962332 (patch) | |
tree | ac574baa25960dacd216fa2cf56acd68ecc722ac | |
parent | 9b28790494ff317b438c7d32a3b0736ac73a1ec9 (diff) |
usbehci: release ctlr ilock before calling pollcheck()
-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); } } |