diff options
author | Sven Schnelle <svens@stackframe.org> | 2012-07-25 14:19:45 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2012-07-30 20:54:24 +0200 |
commit | 1068087c64006a1af0d6dc04b2de6c3dbb7107a0 (patch) | |
tree | 70189a1bdf39c563c1efa8fda9e859d5cca62011 /src/drivers/sil | |
parent | 4141993536039e0d45caeacb745a89d388f0724b (diff) |
USBDEBUG: retry harder for slow devices
Some usb debug devices don't respond fast enough. The linux kernel
(which uses almost the same usbdebug code) added a bit more
retry code, so let's copy that. Even if it might look stupid,
i pass the DBG_LOOPS argument through all functions to keep
the code at least a bit in sync with the linux kernel code.
Change-Id: I7c4b63b8bf1d2270fd6b8c8aa835e2cb324820bd
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1375
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/sil')
0 files changed, 0 insertions, 0 deletions