merge
This commit is contained in:
commit
9b28790494
1 changed files with 7 additions and 4 deletions
|
@ -2278,12 +2278,15 @@ pollcheck(Hci *hp)
|
|||
|
||||
if(poll->must != 0 && poll->does == 0){
|
||||
lock(poll);
|
||||
if(poll->must != 0 && poll->does == 0){
|
||||
poll->does++;
|
||||
print("ehci %#p: polling\n", ctlr->capio);
|
||||
kproc("ehcipoll", ehcipoll, hp);
|
||||
if(poll->must == 0 || poll->does != 0) {
|
||||
unlock(poll);
|
||||
return;
|
||||
}
|
||||
poll->does++;
|
||||
unlock(poll);
|
||||
|
||||
print("ehci %#p: polling\n", ctlr->capio);
|
||||
kproc("ehcipoll", ehcipoll, hp);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue