Searched hist:dc9a3912709e901eb8e513492fdad9743535b86f (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_uboot.c | dc9a3912709e901eb8e513492fdad9743535b86f Sun Jan 11 19:34:49 UTC 2015 Hans de Goede <hdegoede@redhat.com> musb-new: Use time based timeouts rather then cpu-cycles based timeouts
CPU cycle based timeouts are no good, because how long they use depends on CPU speed. Instead use time based timeouts, and wait one second for a device connection to show up (per the USB spec), and wait USB_TIMEOUT_MS for various urbs to complete.
This fixes "usb start" taking for ever when no device is plugged into the otg port.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|