projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call yield() while waiting for USB control transfers to complete.
[seabios.git]
/
src
/
usb-uhci.c
diff --git
a/src/usb-uhci.c
b/src/usb-uhci.c
index cc01234ec50382f4333633836dc7a34f38781d91..64531a920c806e8275a486517d41ced24f62fcfe 100644
(file)
--- a/
src/usb-uhci.c
+++ b/
src/usb-uhci.c
@@
-166,7
+166,7
@@
wait_qh(struct usb_s *cntl, struct uhci_qh *qh)
, inw(cntl->uhci.iobase + USBSTS));
return -1;
}
-
cpu_relax
();
+
yield
();
}
}