diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2013-03-06 14:08:31 +0000 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-03-18 18:58:54 +0100 |
commit | 8f62ca646fbad26b17f832cc3c2579080247de6e (patch) | |
tree | d21f4e48608e04cfff1d1a1cecfc89c4653f30bb /lib/net_utils.c | |
parent | c74b0116b6cd839babfc57b0eb83e4e989227f17 (diff) | |
download | u-boot-imx-8f62ca646fbad26b17f832cc3c2579080247de6e.zip u-boot-imx-8f62ca646fbad26b17f832cc3c2579080247de6e.tar.gz u-boot-imx-8f62ca646fbad26b17f832cc3c2579080247de6e.tar.bz2 |
usb: ehci: Support interrupt transfers via periodic list
Interrupt transfers aren't meant to be used from the async list
(the EHCI spec indicates trouble with low/full-speed intr on async).
Build a periodic list instead, and provide an API to make use of it.
Then, use that API from the existing interrupt transfer API.
This provides support for USB keyboards using EHCI.
Use timeouts to ensure we cannot get stuck in the keyboard scanning
if something wrong happens (USB device unplugged or fatal I/O error)
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions