usbehci: release ctlr ilock before calling pollcheck()
This commit is contained in:
parent
9b28790494
commit
f59101231a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue