diff options
author | Gabe Black <gabeblack@google.com> | 2012-11-21 02:16:13 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-02-28 01:25:46 +0100 |
commit | ef650a5d2456196d653667de7d02abc0591ec024 (patch) | |
tree | 877a62eea8c4eaecb3f998b4ad6bb46c763beb93 /util/sconfig/main.c | |
parent | 1cca340942957009ad74e24ef04bdd5eb44aabaf (diff) |
libpayload: Check for completion more often in ehci_set_periodic_schedule.
This function was using mdelay in a loop to check for the completion of an USB
controller operation. Since we're busy waiting anyway, we might as well wait
only 1 us before checking again and potentially seeing the completion 999 us
earlier than we would otherwise.
Change-Id: I177b303c5503a0078c608d5f945c395691d4bd8a
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/2522
Tested-by: build bot (Jenkins)
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'util/sconfig/main.c')
0 files changed, 0 insertions, 0 deletions