]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix EHCI usb submit timeout and unify with OHCI
authorSimon Glass <sjg@chromium.org>
Mon, 7 Feb 2011 22:42:16 +0000 (14:42 -0800)
committerRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 19:32:34 +0000 (20:32 +0100)
commit96820a35873b4c005f732432c6a168decc9d22b9
tree181c14ab100fc6075409b23b43b00b363dacdc4e
parentefb063390d2d1e712c2c8110911616244d562c4b
Fix EHCI usb submit timeout and unify with OHCI

Changed both to use a common timeout for URB submission, since they were using
different values and EHCI's was too short.

Also fixed EHCI to actually check if urb submission succeeded, rather than
silently continuing into the weeds.

Change-Id: I7f71499ffaa05187d8e5618db2419e1606007b82

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
include/usb.h