usbxhci: xhcirecover proc does not need to check status every 10ms
The timing loop is here for the case if the controller doesnt produce an interrupt when becoming broken. In normal case, we should just get worken up from the interrupt. In any case, 100 times a second polling is not neccessary here, increase to 1 second.
This commit is contained in:
parent
03d870e028
commit
3fe3e370e3
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ recover(void *arg)
|
||||||
while(waserror())
|
while(waserror())
|
||||||
;
|
;
|
||||||
while(!needrecover(ctlr))
|
while(!needrecover(ctlr))
|
||||||
tsleep(&ctlr->recover, needrecover, ctlr, 10);
|
tsleep(&ctlr->recover, needrecover, ctlr, 1000);
|
||||||
shutdown(hp);
|
shutdown(hp);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue